This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JBuilder Adding a Jar File - ClassPath

 
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.
 
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
    Bookmark Topic Watch Topic
  • New Topic