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 Serverlet-1.1.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
org.example
├─ org.example.Main.class - [JAR]
tomcat
├─ tomcat.BaiduSocket.class - [JAR]
├─ tomcat.HttpSocket.class - [JAR]
├─ tomcat.TomcatServerSocket.class - [JAR]
zhanyang
├─ zhanyang.SimpleHttpServer.class - [JAR]
├─ zhanyang.WebHttpServer.class - [JAR]
webserver
├─ webserver.HttpServer.class - [JAR]
├─ webserver.Request.class - [JAR]
├─ webserver.Response.class - [JAR]