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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
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: 36579
    
  16
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: 60077
    
  65

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


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