Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling Of J2SE Files to Jar file

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys

i need to find out how to compile my java project in to a jar file

suggestion needed thanks in advance

regards,
[ November 15, 2005: Message edited by: koh khai huat ]
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/tutorial/jar/
 
Scott Selikoff
author
Saloon Keeper
Posts: 4008
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One note, although compiling a jar and building it are usually done together, they are not exclusive to one another. You take a bunch of files that have all ready been compiled, add create a jar out of them. Really, a jar is the java equivalent of a zip file that can hold any type of file, compiled or not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic