Solved

How to make Sun One Studio see new .jar files

Posted on 2006-07-17
10
272 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
Comment Utility
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
Comment Utility
I'm trying to look, but can't find the option...
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
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
 
LVL 35

Expert Comment

by:girionis
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Author Comment

by:Emanuele_Ciriachi
Comment Utility
Never mind, I found out by myself.
0
 
LVL 1

Author Comment

by:Emanuele_Ciriachi
Comment Utility
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
Comment Utility
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
Comment Utility
Fine by me :)
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
Comment Utility
Closed, 256 points refunded.
Netminder
Site Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now