This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Advantage of a jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Java in General
Bookmark "Advantage of a jar file" Watch "Advantage of a jar file" New topic

Advantage of a jar file

Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 104


I want to know the advantage of using a jar file. I know that jar files helps in reducing the size and that it can be digitally signed. But, in our project, which they develop via eclipse, each plugin is built into a jar file. What/how does it help?

Tim Moores

Joined: Sep 21, 2011
Posts: 2409
If nothing else, it's much easier to distribute a single jar file than a hierarchy of loose class files.
It is sorta covered in the JavaRanch Style Guide.
subject: Advantage of a jar file