Transferred from Iteye's http://yanln.iteye.com/blog/2187994
In the development process often encounter this situation, you write a class to inherit from a jar package of classes, in the process of developing a program with Eclipse, look at the corresponding class in the jar package, but the jar package is a class file, often press CTRL + Mouse, This can happen when you want to see this class:
Therefore, it is necessary and convenient to install an anti-compilation tool plug-in to view the source code in eclipse.
First: Share the address of the download plugin, Baidu Network disk: Link: http://pan.baidu.
1, the Net.sf.jadclipse_3.3.0.jar copy to C:\Documents and Settings\administrator\myeclipse Professional 2014\ The plugins directory.
(Here is my directory, write your own Eclipse plugin directory)
2. Copy the Jad.exe to the Myclipse installation path
C:\Documents and Settings\administrator\myeclipse Professional 2014\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\ Jre\bin
(Here is my directory to write your own eclipse's JRE directory)
3, start MyEclipse, Window->preferences->java->jadclipse
Set path to Decompiler for you to put JAD.exe paths
C:\Documents and Settings\administrator\myeclipse Professional 2014\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\ Jre\bin\jad.exe
(Here is my directory to write your own to put JAD.exe path)
Directory for temporary files is to set the temporary file path to ensure that your temporary file path exists
C:\Documents and Settings\administrator\myeclipse Professional 2014\jadtmp (I built my own temporary file path)
4, for the existence of the source code of the class, it will not forcibly decompile,
Finally: To add, if you just want to see the jar in the source code, do not involve the use of Eclipse, Jd-gui is also a good choice.
Share download link address, Baidu Network disk, Link: http://pan.baidu.com/s/1dDrPDpJ Password: 5h0r
myeclipse2014 How to add a source anti-compilation tool plug-in