This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Creating jar files with Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Creating jar files with Netbeans

Antonio Manes
Greenhorn

Joined: Aug 19, 2009
Posts: 5
I built my application with Netbeans and I obtained a jar file and a lib folder. The application runs correctly from the jar file but only if there is the lib folder in the current folder of jar file.
What should I do if I want only a single file jarto launch my application?

Thanks everyone for the help!
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
Look here:
http://java.sun.com/developer/technicalArticles/java_warehouse/single_jar/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32599
    
    4
Closing as duplicate. Read this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating jar files with Netbeans
 
Similar Threads
Creating jar files with Netbeans
Not able to access BouncyCastle jar from Application jar
Problem using external jar file
Importing a new package.... again
Application not running from jar