Link to home
Start Free TrialLog in
Avatar of Emanuele_Ciriachi
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?
Avatar of girionis
girionis
Flag of Greece image

Hi Emanuele_Ciriachi

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
Avatar of Emanuele_Ciriachi
Emanuele_Ciriachi

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.jar and you should be set.
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.
Never mind, I found out by myself.
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
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial