Solved

How to make Sun One Studio see new .jar files

Posted on 2006-07-17
10
275 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 62
Unhandled exception type Exception 18 42
Adding multiple JVM environments to RedHat 6 7 47
sql import cannot be resolved jsp 3 45
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

839 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