본문 바로가기

TOOL/eclipse

[eclipse]java decompiler jad/jadclipse 설치하기 [출처] [eclipse]java decompiler jad/jadclipse 설치하기|작성자 똘똘이

대표적인 자바 디컴파일러인 jad와 이클립스 플러그인 jadclipse를 설치하자.


당연하게도 활용방법은
1. 잃어버린 .java 소스파일을 .class 파일로부터 복원
2. API에 대한 소스레벨 탑색이다.

 

원래는 free 버전이었으나. 지금은 상용이다. 하지만, 비상업적으로 이용하는 것은 무료다.

특별한 설정은 필요치 않다.

두개의 압축파일을 다운받으면 된다.

 

1. jad 다운
사이트 : http://www.kpdus.com/jad.html
파일(window용 파일) : http://www.kpdus.com/jad/winnt/jadnt158.zip

 

2. jadclipse 다운
사이트 : http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download
파일(eclipse3.2.0) : http://prdownloads.sourceforge.net/jadclipse/jadclipse_3.2.0.jar?download
파일(eclipse3.2.4) : http://prdownloads.sourceforge.net/jadclipse/net.sf.jadclipse_3.2.4.jar?download

 

3. 설치방법
적당한 디렉토리에 압축을 푼다.
jad 파일을 eclipse 루트 디렉토리에 복사한다.
jadclipse 는 eclipse의 plugin 디렉토리에 통채로 복사한다.

 

4. 환경설정
이클립스 실행후
창/환경설정/일반/편집기/파일연관 으로 이동

 


JadClipse Class File Viewer를 선택하고 기본값을 클릭한다.

 

창/환경설정/Java/JadClipse 로 이동
Reuse code buffer 체크

 

창/환경설정/Java/JadClipse/Misc 로 이동
Convert Unicode string into ANSI strings 체크
=> 한글 깨짐 문제 해결