What is .jar | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is .jar

difference between. jar and .java?

20th Jan 2017, 1:10 AM
Abhinav Patel
Abhinav Patel - avatar
20 Answers
+ 8
Files with the .java extension are Java programs (source code), while files with the .jar extension are Java archives (compressed Java programs for distribution and installation). So the programmer writes code and saves it in a .java file. When the whole program is done, the .java file is compressed into a .jar archive, who is sent to the user. The user uses the .jar file to install the program.
21st Jan 2017, 9:00 PM
Daniel Caouette
Daniel Caouette - avatar
+ 4
.jar is extension of the file which is distributed by programmer to the end users after its bugs fixed.
24th Jan 2017, 4:35 PM
Siddharth Kumar Gupta
Siddharth Kumar Gupta - avatar
+ 3
jar is a "jar" or packet ;) with eg. zipped java .class and a manifest file - you can call it a autostart script. in it. it will execute the code like told in the manifest file .java is the source code file
20th Jan 2017, 1:42 AM
KiX
+ 2
A .java file is a source code (not compiled). And a .jar is a compress package with compiled files (.class) which is ready to distribute to users.
21st Jan 2017, 1:06 AM
carLos enriQue
carLos enriQue - avatar
+ 2
java is source code..Jar is compressed file(all)
21st Jan 2017, 5:27 AM
Jamaluddin Mondal
Jamaluddin Mondal - avatar
+ 2
.java is java source file. From that file we make .class file whos code is not able to see by the human. After that we have .jar file which contains .class files. ".JAR" file is java arhive file. It is compressed file of .class files and and a way of delivering applications.
21st Jan 2017, 9:24 PM
Dejan Stojkovic
Dejan Stojkovic - avatar
+ 2
.jar is java archive file used to transfer java files from one computer to another
26th Jan 2017, 9:50 AM
Faizan Shabir
Faizan Shabir - avatar
+ 1
yes
21st Jan 2017, 9:31 AM
sari hossin74
sari hossin74 - avatar
+ 1
.jar extention is used to distrube java applications
23rd Jan 2017, 7:27 AM
sushma
sushma - avatar
+ 1
compressed file of java
23rd Jan 2017, 9:40 PM
Akash Kumar
Akash Kumar - avatar
+ 1
.java extension is used when saving a source code for the proper execution whereas .jar extension (zip file) is used to distribute among the end users
25th Jan 2017, 9:16 AM
paras rai
+ 1
jar acts as a library for java in which various classes are stored.
26th Jan 2017, 2:24 PM
Pooja Upadhyay
Pooja Upadhyay - avatar
+ 1
.jar is an extension for packaging varoius classes in java while .java is the extension used for a single source code file.
26th Jan 2017, 2:26 PM
Pooja Upadhyay
Pooja Upadhyay - avatar
+ 1
its like .mp3 for songs
4th Feb 2017, 3:44 PM
oussama
oussama - avatar
+ 1
.jar is a Java archive file which is used to distribute Java applications
8th Feb 2017, 6:04 AM
SURAJ KUMAR RAM
SURAJ KUMAR RAM - avatar
+ 1
it is extension of java
2nd Mar 2017, 9:28 AM
Ankit gupta
Ankit gupta - avatar
0
Java Archiving Tool(jar)
20th Jan 2017, 1:36 AM
Brahim Annama
Brahim Annama - avatar
0
.jar is the executioner file like .exe in windows.
22nd Jan 2017, 5:54 PM
Ghost G
Ghost G - avatar
0
java archiving tool
11th Feb 2017, 10:30 PM
P Perez
P Perez - avatar
0
a java extension. it is used to excecute commands. dunno jar
20th Feb 2017, 6:33 AM
Ken Malinao
Ken Malinao - avatar