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 MavenProject-1.0.3.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
com.example.demo.utils
├─ com.example.demo.utils.TestUtil.class - [JAR]
com.example.demo.pojo
├─ com.example.demo.pojo.CourseEntity.class - [JAR]
├─ com.example.demo.pojo.Info.class - [JAR]
├─ com.example.demo.pojo.MyInfo.class - [JAR]
├─ com.example.demo.pojo.StudentEntity.class - [JAR]
├─ com.example.demo.pojo.TeacherEntity.class - [JAR]
com.example.demo
├─ com.example.demo.DemoApplication.class - [JAR]
com.example.demo.config
├─ com.example.demo.config.CorsConfig.class - [JAR]
com.example.demo.controller
├─ com.example.demo.controller.TestController.class - [JAR]
├─ com.example.demo.controller.excelController.class - [JAR]