View Java Class Source Code in JAR file
- Download JD-GUI to open JAR file and explore Java source code file (.class .java)
- Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window test-jar-1.1.0.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
com.acme.fuse
├─ com.acme.fuse.Dynamite.class - [JAR]
com.acme.pvt
├─ com.acme.pvt.Hidden.class - [JAR]
├─ com.acme.pvt.Secret.class - [JAR]
com.acme.shared
├─ com.acme.shared.Nested.class - [JAR]