민서네집

sts에서 Java Decompiler jadclipse 설치 본문

프로그래밍

sts에서 Java Decompiler jadclipse 설치

브라이언7 2015. 5. 27. 14:48

3. JDK & Tomcat 을 이용한 STS 개발환경 세팅 (Decompiler 및 Workspace 설정)


http://gliderwiki.org/wiki/103



JadClipse - Eclipse plugin


http://sourceforge.net/projects/jadclipse/?source=typ_redirect


JAD Java Decompiler Download Mirror


설치 날짜: 2015-05-27

나는 Mac OS X 10.10.3 Yosemite 에서 STS 3.6.4 버전에서 설치했는데, 아마 Windows 에서도 위와 같이 하면 잘 설치되리라 생각된다.

웬일인지 eclipse Market Place에서 jadclipse plugin 으로 설치하는 것은 잘 되지 않았다. (Windows 7 운영 체제에서)

- STS 가 뜨고 난 후 좀 있다가 바로 꺼져버림.




설정이 잘 되어 있어야지 class 파일이 jadclipse로 decompile 되어 보임.




Preferences > General > Editors > File Association > .class without source 선택


Add 버튼을 눌러서 Internal editors 선택해서 JadClipse Class File Viewer 를 선택하고 OK 버튼을 누른다.



JadClipse Class File Viewer 가 선택된 상태에서 Default 버튼을 누르면 아래와 같은 상태가 된다.




[참고]

[ JAVA ] Eclipse 에 Decompiler 플러그인 설치하기.


http://ccambo.blogspot.kr/2014/03/java-eclipse-decompiler.html



< Jadclipse 플러그인 설치 > 


http://dkatlf900.tistory.com/43





[2015-06-26]

Java Decompiler

http://jd.benow.ca/


JD-Eclipse

JadClipse 는 jad 를 이용하는 것 같다. 그런데 Jad는 업그래이드가 되지 않고 있어서 Java 1.5 버전을 포함해서 그 이상에서는 제대로 Decompile을 하지 못하는 것 같다. 역컴파일 된 소스를 src 디렉터리에 갖다 놓으면 컴파일 에러가 여러군데서 난다.
JD-Eclipse 라는 eclipse 플러그인은 Java 1.1.8 부터 1.7.0 까지 지원한다고 한다.
설치해 봤는데, 어찌된 일인지 JD Class File Viewer 로 Open 해도 Eclipse 에 내장된 Class File Viewer 로 보인다. 결국 Decompile 을 시키지 못했다.


설치한 버전:

Spring Tool Suite 

Version: 3.6.4.RELEASE
Build Id: 201503100339
Platform: Eclipse Luna SR1 (4.4.2)

JD-Eclipse
1.0.0   - 23 Apr 2015


Comments