File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes creating an executable jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "creating an executable jar file" Watch "creating an executable jar file" New topic
Author

creating an executable jar file

Guy Rich
Ranch Hand

Joined: May 03, 2011
Posts: 33

Hi All I've found a lot of excellent information on creating executable jar files.
I am curious about one issue ... can an executable jar file be created from a combination of class files and existing jar files?

Thanks

Best Regards

Guy
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Sure it can. But don't imagine the solution involves putting those other jar files inside the executable jar file you're about to produce! No, the way to do it is to put Class-Path entries in the new executable jar's manifest.

The information you've already seen should explain how that works... if you've seen the right information, that is.
Guy Rich
Ranch Hand

Joined: May 03, 2011
Posts: 33

Okey-dokey ...thanks


Guy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating an executable jar file
 
Similar Threads
How to include third party jar files with in manifest file.
application to run jar files
Building cross-platform double-clickable desktop applications
stange problem with MySql driver
create jar files