aspose file tools
The moose likes Beginning Java and the fly likes JBuilder Adding a Jar File - ClassPath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "JBuilder Adding a Jar File - ClassPath" Watch "JBuilder Adding a Jar File - ClassPath" New topic
Author

JBuilder Adding a Jar File - ClassPath

Lenin_Tony
Greenhorn

Joined: Sep 23, 2003
Posts: 9
Can some >>please<< tell me the method to add a simple JAR file to JBuilder Classpath. I am new this IDE.
I have a JAR file which contains a single class Person.class. I used the following to generate it
jar -cvf Person.jar *.class
I can inspect the JAR frile either from jar -tvf Person.jar
or from winzip.
I then go into tools->configure libraries->New
I set the name I want "PersonJar" and try to point to the folder on ym machine that contains the jar file.

When I do so it says...."No new source, documentation, or class paths were found"

I can add other jar files like say activation.jar or some other jar file I know ot be good.

what is the problem?? How do I resolve it??

Any help greatly appreciated.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
1. Go to Project | Project Properties | Paths | Required Libraries
2. Click Add | New
3. Give it a name, and click "add" to specify the jar location
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JBuilder Adding a Jar File - ClassPath
 
Similar Threads
urgent help please (creating jar file using ant)
yet another question regarding creating a runnable jar with Eclipse/Maven
NoClassDefFound Error in an Eclipse Export
Unable to assemble files from Maven using ANT task
java.util.zip.ZipException: The system cannot find the path specified