Solved

How to make Sun One Studio see new .jar files

Posted on 2006-07-17
10
278 Views
Last Modified: 2013-11-21
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?
0
Comment
Question by:Emanuele_Ciriachi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
10 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 17120161
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
 
LVL 1

Author Comment

by:Emanuele_Ciriachi
ID: 17120169
I'm trying to look, but can't find the option...
0
 
LVL 35

Expert Comment

by:girionis
ID: 17120173
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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 35

Expert Comment

by:girionis
ID: 17120181
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
 
LVL 1

Author Comment

by:Emanuele_Ciriachi
ID: 17120186
Never mind, I found out by myself.
0
 
LVL 1

Author Comment

by:Emanuele_Ciriachi
ID: 17120188
Just for someone's information, the .jar file must be included in the Filesystems, just like any other resource.
0
 
LVL 35

Expert Comment

by:girionis
ID: 17120201
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
 
LVL 35

Expert Comment

by:girionis
ID: 17128161
Fine by me :)
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17157367
Closed, 256 points refunded.
Netminder
Site Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Html Table Looping (part 2) 5 42
swing controls 2 38
IBM TS2900 (3572) Tape Autoloader Java? 12 109
How to set up WAMP on a windows 8.1 IIS machine 14 48
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question