Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Compiling Of J2SE Files to Jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compiling Of J2SE Files to Jar file" Watch "Compiling Of J2SE Files to Jar file" New topic
Author

Compiling Of J2SE Files to Jar file

Koh Khai Huat
Ranch Hand

Joined: Aug 05, 2005
Posts: 100
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 ]

if (!WorkHard){
System.out.println("Fail!!!");
}
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
http://java.sun.com/docs/books/tutorial/jar/


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

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.


My Blog: Down Home Country Coding with Scott Selikoff
 
Don't get me started about those stupid light bulbs.
 
subject: Compiling Of J2SE Files to Jar file