wood burning stoves 2.0*
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


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

create jar files

Lara Smith
Greenhorn

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

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

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]
 
 
subject: create jar files
 
Similar Threads
jar file with in a jar file
How to create executable java files( jar )
Problem with policy file, Security Manager
jar files
Executable From NetBeans?