Emanuele_Ciriachi
asked on
How to make Sun One Studio see new .jar files
Hello, I am using Sun One Studio to develop in Java. I have an application that requires the j2ee.jar lib to compile; I have the file, but somehow the program doesn't "see" it, and it still claims that a particular class is missing, although it's contained in that file (which is actually stored in c:\j2sdkee1.31\lib). How should I do to compile my program?
ASKER
I'm trying to look, but can't find the option...
It should be:
Right click on the project name -> Properties -> Libraries -> Add Jar/Folder and navigate to c:\j2sdkee1.31\lib\j2ee.ja r and you should be set.
Right click on the project name -> Properties -> Libraries -> Add Jar/Folder and navigate to c:\j2sdkee1.31\lib\j2ee.ja
This is how it is done in NetBeans. From what I know Sun One Studio is the comemrcial version of NetBeans, so I *assume* it shouldn't be very different.
ASKER
Never mind, I found out by myself.
ASKER
Just for someone's information, the .jar file must be included in the Filesystems, just like any other resource.
Nice one :) If you want you can PAQ this question and have the points refunded back to you by askign a question at the Community Support area.
Fine by me :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you should add it in the properties of your Sun One studio project. Not sure how to do it (I never used Sun One studio) but it shoudl be under Project properites or something like that.
Cheers