This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to jar? 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 "how to jar?" Watch "how to jar?" New topic
Author

how to jar?

K Lynne
Greenhorn

Joined: Jun 03, 2003
Posts: 1
I have written quite a few simple apps and applets but haven't been exposed to jars much. How does the jar tool work and what exactly does it accomplish for me (why would I want to bother using it?) I understand that it does some packaging and compression, but does it (or could it) eliminate the need for an unknown enduser to have the JDK installed?
leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
I understand that it does some packaging and compression, but does it (or could it) eliminate the need for an unknown enduser to have the JDK installed?[/QB]

Hi K,
The end user doesn't need to have the JDK installed, but they would need an appropriate JRE (Java Runtime Environment - the thingy that understands the java bytecode)
Try this page for an explanation of what you can do with the jar command.


Thanks, leo
 
 
subject: how to jar?
 
Similar Threads
How to put a jar lib into my jar
How to un-archive a .jar archive?
SCEA 5 - Part 2 - Jar file name
build.xml: jar tag
NoClassDefFoundError running a jar file from the command line