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 sample-contribution-osgi-2.0.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
calculator
├─ calculator.AddService.class - [JAR]
├─ calculator.AddServiceImpl.class - [JAR]
├─ calculator.CalculatorActivator.class - [JAR]
├─ calculator.CalculatorClient.class - [JAR]
├─ calculator.CalculatorService.class - [JAR]
├─ calculator.CalculatorServiceImpl.class - [JAR]
├─ calculator.DivideService.class - [JAR]
├─ calculator.DivideServiceImpl.class - [JAR]
├─ calculator.MultiplyService.class - [JAR]
├─ calculator.MultiplyServiceImpl.class - [JAR]
├─ calculator.SubtractService.class - [JAR]
├─ calculator.SubtractServiceImpl.class - [JAR]