0

Possible Duplicate:
Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

How i can view the contents of Jar files and enter to it like Zip files on windows 7 , so windows explorer can view these files ?

Hamzah khammash
  • 103
  • 1
  • 3

3 Answers3

1

Try this registry script:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\.jar]
@="CompressedFolder"
kinokijuf
  • 8,175
  • 9
  • 54
  • 97
  • For more information about this apparently undocumented `@` symbol, don't bother with the official MS docs, because it's not mentioned there. https://support.microsoft.com/en-us/kb/310516 Apparently it refers to the `Data` field of the `(Default)` key. – jordanpg May 04 '15 at 16:50
1

Jar (=Java Archive) are just zipped Java class files, so you can use any Zip-Archiver tool to unzip it, for example 7-zip.

It won't bring you much, however, because class files are the files compiled into bytecode, so this is a binary format you cannot easily look in. You can decompile these files using some of existing Java decompilers, for example this one.

Alexander Galkin
  • 1,008
  • 8
  • 17
0

Open them with 7-zip. If you really want to double click, set it as default program for .jar files.

Eroen
  • 6,383
  • 1
  • 17
  • 25