Reputation: 1203
I am using Eclipse Helios Version and imported an existing project into IDE.
This Project is consisting some code in form of Jar files
So I have installed Jad Eclipse plugin .
Now my question is from the IDE Whenever i click class (Ctrl + Mouse) which is in jar files , instead of java file ,i m getting this
/*jadclipse*/
/*
DECOMPILATION REPORT
Decompiled from: C:\Documents and Settings\Sai\Desktop\work\kiuybon-1.1.jar
Total time: 0 ms
Jad reported messages/errors:
Exit status: 0
Caught exceptions:
java.io.IOException: Cannot run program "jad" (in directory "C:\Documents and Settings\Sai\.net.sf.jadclipse\1321168101468"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.jadclipse.JadDecompiler.decompile(JadDecompiler.java:160)
at net.sf.jadclipse.JadDecompiler.decompileFromArchive(JadDecompiler.java:217)
at
Upvotes: 5
Views: 10363
Reputation: 1
I encountered the same error: jadclipse
DECOMPILATION REPORT
Decompiled from: D:\nnn\nnnn\lib\nnn3.1.1.jar
Total time: 0 ms
Jad reported messages/errors:
Exit status: 0
Caught exceptions:
java.io.IOException: Cannot run program "c:\jad" (in directory "C:\jad\1490924748657"):
CreateProcess error=5, Access is denied
To solve it I did the following steps:
Added my windows profile as the owner of the jad.exe. I was already admin on my machine but doing only this did not solve the problem.
jad.exe > right click > Properties > security > advanced > owner tab > change owner to > my windows profile
Restart eclipse. Tried debugging again and the problem is solved.
Upvotes: 0
Reputation: 23
Upvotes: 0
Reputation: 41
Go to Preference --> Java --> Jadclipse
Set the path to decompiler to the location of your jad.exe and point the temp file directory to something like c:\temp
(make sure you create this directory)
Upvotes: 4
Reputation: 7740
Even I have also faced the same problem. You can use an alternative de-compiler mentioned below. It works perfect in eclipse
http://java.decompiler.free.fr/?q=jdeclipse
Upvotes: 0
Reputation: 1
You can make "C:\Documents and Settings\Sai.net.sf.jadclipse\1321168101468" directory to solve this problem.
Upvotes: 0