wood burning stoves 2.0*
The moose likes Servlets and the fly likes Difference between tar and jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Difference between tar and jar file

lali virdi
Greenhorn

Joined: Aug 17, 2004
Posts: 6
hi
please tell me the difference between tar and jar file
Kiran Sonaje
Greenhorn

Joined: Aug 23, 2004
Posts: 23
Hello,

There is no relation between tar file and jar file. tar is zip file made for linux OS, while jar is java file containing no of classes(Java Archiver)
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


tar is zip file made for linux OS

<pedantic>Well it is actually from UNIX: its a shorthand extension denoting a tape archive</pedantic>. It's not specifically for any OS - you'll find utilities to decompress tar files for most OS's. Both tars and jars are simmilar in that they are compressed files. Also jar files don't have to contain Java classes - though its unusual for them not to.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

SECOND NOTICE

"lali"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

Please continue over in the duplicate thread in the Linux / UNIX forum.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between tar and jar file
 
Similar Threads
difference between cpio & tar
how to extract
Diff between tar and jar
need help to download standard.jar
difference between jar and war file