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?
LVL 1
Emanuele_CiriachiAsked:
Who is Participating?
 
NetminderConnect With a Mentor Commented:
Closed, 256 points refunded.
Netminder
Site Admin
0
 
girionisCommented:
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
0
 
Emanuele_CiriachiAuthor Commented:
I'm trying to look, but can't find the option...
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
girionisCommented:
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.
0
 
girionisCommented:
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.
0
 
Emanuele_CiriachiAuthor Commented:
Never mind, I found out by myself.
0
 
Emanuele_CiriachiAuthor Commented:
Just for someone's information, the .jar file must be included in the Filesystems, just like any other resource.
0
 
girionisCommented:
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.
0
 
girionisCommented:
Fine by me :)
0
All Courses

From novice to tech pro — start learning today.