Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create jar files

 
Lara Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how to create jar files ? and what is purpose of that ?
Thanks
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this Source
This is used to pack classes to one archive.
Olli
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic