aspose file tools
The moose likes Java in General and the fly likes how to make jar file with external jars Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to make jar file with external jars" Watch "how to make jar file with external jars" New topic
Author

how to make jar file with external jars

mona elrouby
Greenhorn

Joined: Feb 04, 2007
Posts: 2
I have a java application which works just fine on eclipse. Now I want it to work without the need for eclipse. The solution is to File -> Export... to a jar file.
The problem is that I added many external jar files.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32839
    
    4
Welcome to the Ranch.
I haven't tried putting a .jar file together from Eclipse for a long time, but doesn't it automatically include the other .jars used?

Try it and see.

CR
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

Please reserve this forum for questions on advanced Java. I have moved this post to a more approriate location.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make jar file with external jars
 
Similar Threads
Eclipse JARing
Adding an external jar file library in Netbeans 6.5.1 IDE
Jar file problem
Eclipse - Exporting to Jar including external jar files
How to make eclipse userlibrary for jar dependencies using java code and ant build?