Java

Look for code to decompilation in WEB-INF/lib folder

JD-GUI

Run jd-gui on mac os.

open -a JD-GUI

If you want to decompile .jar files one of the best programs you can use is JD-GUI. Download page: http://java-decompiler.github.io

Decompilation example

In this chapter we will compile the program and then decompile it using jd-gui.

Writing the program

Compile the program

Build the program

In order to make the jar from compiled java program we have to create manifest file which describes information about the JAR and its classes.

Test if the program works

Open jd-gui

Open jar file

Program decompiled

Last updated