jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes create jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "create jar files" Watch "create jar files" New topic

create jar files

Lara Smith

Joined: Jul 17, 2003
Posts: 1
Can someone tell me how to create jar files ? and what is purpose of that ?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Check this Source
This is used to pack classes to one archive.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Lara!
Take a look at The JAR Files Trail of Sun's Java Tutorial.
As Oliver mentioned, a JAR file enables you to store multiple files (esp. class files) into one file. Another use of a JAR file is making an executable JAR, such that the user of your application need only double-click on the JAR file to start the application. For more information, take a look at the Creating An Executable JAR File thread.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link: http://aspose.com/file-tools
subject: create jar files
It's not a secret anymore!