views:

191

answers:

3

how do we extract jar files in ubuntu????

+4  A: 
jar -xvf file.jar
Kaleb Brasee
it says "it does not look like a tar archive"
Anakha
Oops, sorry, it's `jar`.
Kaleb Brasee
and "jar -xvf file.jar" works too.
rayd09
thanks a ton it worked!!!
Anakha
+1  A: 

or if you have jdk installed:

jar xf file.jar
ryanprayogo
+2  A: 

Fun fact: A .jar file is actually just a .zip file

unzip file.jar
pib