What would be the easiest way to view classes, methods, properties, etc. inside a jar file? I\'m looking for something equivalent to the very useful Lutz Roeder .NET Ref
If I understand correctly, you want to see not only classes but also methods, properties and so on. The only tool I know that can do it is Eclipse - if you add a jar to project classpath, you would be able to browse its classes with methods and properties using usual package explorer.
Anyway, this is a good idea for a good standalone Java tool
Your IDE should also support this. My IDE (SlickeEdit) calls it a "tag library." Simply add a tag library for the jar file, and you should be able to browse the classes and methods in a hierarchical manner.
Bndtools provides a free JAR viewer plugin for Eclipse.
Add the Eclipse update site and install only the viewer.
Jad is klunky and no longer maintained. I've switched to "Java Decompiler", which has a slick UI and support for new language features.
Every decompiler I've used, though, runs into code it doesn't successfully decompile. For those, it helps to understand the disassembled Java byte code produced by the standard JDK tool, javap.
You could try JarNavigator to view and search contents of a jar file.
Use WinRar. It will open the folder structure for you in intact manner. Also allows in-archive editing, while preserving paths.
Afterall, a JAR file is a ZIP archive only.