Programming/PROG... Tip
#Tip - Java 디컴파일러 JD-GUI 설치, 사용
권가
2021. 4. 1. 16:05
war, jar, 등등 클래스 파일을 디컴파일하여 .java 파일로 볼 수 있는 디컴파일러 JD-GUI를 소개해드립니다.
Java Decompiler
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions. JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reco
java-decompiler.github.io
위의 링크를 들어가줍니다!
Download(다운로드)를 클릭!
자신의 OS(Operating System) 운영체제에 맞게 설치!
저는 Windows이기에 zip파일을 받았습니다~
설치 후 압축을 풀어줍니다.
압축을 푼 후!
jd-gui.exe 실행
이러한 로고가 나타나며 exe 파일이 실행됩니다~
이러한 창이 나타나면
드래그앤 드랍으로 디컴파일 가능합니다!
war파일, class파일, jar 파일 등등!
tomcat7의 catalina.jar 파일을 디컴파일 해보겠습니다
tomcat7의 catalina.jar 파일을 jd-gui 창 위에 드래그 앤 드랍 합니다~
(마우스로 끌어서 놓기)
이러한 식으로 디컴파일 할 수 있습니다!