Solved

How to make Sun One Studio see new .jar files

Posted on 2006-07-17
10
279 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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…
Suggested Courses

623 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