Reputation: 9652
Does Jadclipse
work on Eclipse 3.6
?
I have installed Jadclipse 3.3.0
on my Eclipse 3.6
by copying the jar into the plugins directory and restated eclipse.
Now I have the jadclipse menu under Windows->Preferences but when trying to de-compile any class it simply does not de-compile. I get the usual eclipse screen saying the source is unavailable. There are no errors in the Error Log.
Any idea?
Upvotes: 7
Views: 20068
Reputation: 376
I had the issues on mac with STS and was able to fix it with below process.
Download JADClipse plugin jar and copy it to plugins folder of Eclipse.
Download JAD decompiler and unzip it into a folder on your mac. Set java decompiler to JAD. Eclipse->Preferences->Java->Decompiler->Select JAD Eclipse->Preferences->Java->JADClipse->Path to decompiler (/Users/test/Desktop/JavaDecompiler/jad158g.mac.intel/jad)
Select file associations for .class and .class with out source to default JADClipse class viewer.
Restart Eclipse and it should work.
References -> http://hemantasapkota.github.io/posts/setting-up-jadclipse-and-jad-java-decompiler-in-eclipse/
https://eedannak.wordpress.com/2014/11/02/how-to-decompile-class-files-in-java-with-eclipse-ide/
Upvotes: 0
Reputation: 89
Download jad.exe and then in eclipse there are 2 places to configure.
Upvotes: 0
Reputation: 545
The main reason is that you eclipse have default class viewer configured for class file which you have to change to your new class decompiler.
go to preference > editor > choose "class without source" and select your tool and mark as default. will work for you :)
Upvotes: 5
Reputation: 31
I had the same problem. Just check if the JadEclipse Class File Viewer is the default viewer for "Class without source" in Preferences -> General -> Editors -> File Associations.
Upvotes: 3
Reputation: 61
Set the JAD path correctly in Preferances>Java>Jad. Ex: D:\Jad\jad.exe
If still not working then,
Go to File extensions in Preferences. Select JadClipse as default editor for .class and .class with out source.
Upvotes: 6