Sign in to follow this  
knightg

Netbeans 4.1 - Problem with adding bundled libraries and packages

Recommended Posts

knightg    122
I am currently working on a J2ME project and facing some problem when adding an external package. i wish to include my own package call "abc" which located at C:\abc so I goto project properties, choosing libraries and resources and add the package folder "c:\abc" when I I type 'import', the IDE show a list of package that can be imported, "abc" is inside the list. then I write "import abc.*;" , but then when I compile my project, it says "package not found" anyone know whats the problem and how to solve it? I need the package being isolated in other folder because I do not want to duplicate this package as several projects are using it. (If I copy the whole package inside the src folder, it works)

Share this post


Link to post
Share on other sites
cignox1    735
Usually I add do right click on the project from inside the ide (left panel) and then click on properties. Here I select the 'running project' panel and then 'add jar/folder'. That worked for me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this