Solved

How to make Sun One Studio see new .jar files

Posted on 2006-07-17
10
277 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
  • 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
Industry Leaders: 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!

 
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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

In this post we will learn different types of Android Layout and some basics of an Android App.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

735 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