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 example-0.1.2.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
com.github.secondbase.example.main
├─ com.github.secondbase.example.main.HelloAll.class - [JAR]
├─ com.github.secondbase.example.main.HelloConsul.class - [JAR]
├─ com.github.secondbase.example.main.HelloFlags.class - [JAR]
├─ com.github.secondbase.example.main.HelloJsonLogging.class - [JAR]
├─ com.github.secondbase.example.main.HelloSecondBase.class - [JAR]