• Post Reply Bookmark Topic Watch Topic
  • New Topic

JBuilder Adding a Jar File - ClassPath  RSS feed

 
Lenin_Tony
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!