Jadclipse error during DECOMPILATION report

I am using the Eclipse Helios Version and have imported an existing project into the IDE.

This project consists of some code in the form of Jar files

So, I installed the Jad Eclipse plugin.

Now my question is from the IDE. When I click on the class (Ctrl + Mouse) that is in the jar files, instead of the java file, I get 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 
+4
source share
5 answers

Go to Preference --> Java --> Jadclipse

Set the path to the decompiler to the location of your jad.exe and point the temporary file directory to something like c:\temp (make sure you create this directory)

+4
source

To solve this problem, you can create the directory "C: \ Documents and Settings \ Sai.net.sf.jadclipse \ 1321168101468".

0
source

Even I ran into the same problem. You can use the alternative compiler mentioned below. It works great in eclipse

http://java.decompiler.free.fr/?q=jdeclipse

0
source
  • Download the archive with jad.exe from http://varaneckas.com/jad/ for your OS
  • Extract to a specific folder
  • Go to window> Settings> Java> JadClipse and fill in the path to decompilation using the path where you extracted the archive
  • Restart your eclipse.

example

0
source

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 this problem, I took the following steps:

  • Added my window profile as the owner of jad.exe. I was already an administrator on my machine, but this alone did not solve the problem.

    jad.exe> ​​right-click> Properties> Security> Advanced> owner tab> change owner to> my window profile

  • Restart eclipse. Trial debugging again and the problem is resolved.

0
source

Source: https://habr.com/ru/post/1380975/


All Articles