Jay Taylor's notes

back to listing index

java-decompiler/jd-gui

[web search]
Original source (github.com)
Tags: java tools decompilation disassembler reverse-engineering github.com
Clipped on: 2016-03-22

Skip to content
A standalone Java Decompiler GUI
Groovy Java ANTLR Shell

README.md

JD-GUI

JD-GUI, a standalone graphical utility that displays Java sources from CLASS files.

Image (Asset 3/3) alt=

Description

JD-GUI is a standalone graphical utility that displays Java source codes of ".class" files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields.

How to build JD-GUI ?

normal> ./gradlew build 
normal

generate "build/libs/jd-gui-x.y.z.jar"

normal> ./gradlew installOsxDist
normal

generate "build/install/jd-gui-osx/JD-GUI.app"

normal> iexplore http://sourceforge.net/projects/launch4j/files/launch4j-3/3.7/launch4j-3.7-win32.zip/download
> unzip launch4j-3.7-win32.zip
> ./gradlew -DLAUNCH4J_HOME=.../path/to/launch4j-3.7-win32 installWindowsDist
normal

generate "build/install/jd-gui-windows/jd-gui.exe"

normal> ./gradlew buildDeb
normal

generate Ubuntu/Debian installer

normal> ./gradlew buildRpm
normal

generate RedHat/CentOS/Fedora installer

How to launch JD-GUI ?

  • Double-click on "jd-gui-x.y.z.jar"
  • Double-click on "JD-GUI" application from Mac OSX
  • Double-click on "jd-gui.exe" application from Windows
  • Execute "java -jar jd-gui-x.y.z.jar" or "java -classpath jd-gui-x.y.z.jar org.jd.gui.App"

How to use JD-GUI ?

  • Open a file with menu "File > Open File..."
  • Open recent files with menu "File > Recent Files"
  • Drag and drop files from your file explorer

How to extend JD-GUI ?

normal> ./gradlew idea 
normal

generate Idea Intellij project

normal> ./gradlew eclipse
normal

generate Eclipse project

normal> java -classpath jd-gui-x.y.z.jar;myextension1.jar;myextension2.jar org.jd.gui.App
normal

launch JD-GUI with your extensions

How to uninstall JD-GUI ?

  • Java: Delete "jd-gui-x.y.z.jar" and "jd-gui.cfg".
  • Mac OSX: Drag and drop "JD-GUI" application into the trash.
  • Windows: Delete "jd-gui.exe" and "jd-gui.cfg".