what's meant by .jar extension | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

what's meant by .jar extension

25th Aug 2016, 11:55 PM
Pavan Reddy
Pavan Reddy - avatar
3 Answers
the java archiving tool
26th Aug 2016, 12:08 AM
Aquarius - avatar
.jar extention is a file used to easily transfer a java program from a pc to other. it is like a zip file which holds different files in it for easy transfer. it can be executable if it has a class which is executable i.e it can run without terminal window like in bluej.
26th Aug 2016, 12:55 AM
Satyam Abhishek Karn
Satyam Abhishek Karn - avatar
jar also could be your custom library that you could use it in your programs. Suppose you have coded a class that save and read data to/from a file. Then instead of rewriting the same class in every program that should read/write to a file..you could just import your library and start using it.
26th Aug 2016, 3:55 AM
Tiger - avatar