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?
 
NetminderCommented:
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.