JD-Eclipse(0.1.3) does not work in Eclipse 3.7 - Indigo on windows 7 64 bit
Asked Answered
F

2

7

On my pc I cannot get jd-eclipse working , when I click on a class file I just get the standard class file editor saying source not found - I have checked the eclipse error logs and there is nothing!.

My environment is Win7 64 bits, jdk-1.7.0, Eclipse 3.7 (Indigo), JD_Eclipse(0.1.3) , its a real shame as I have used jd-eclipse before on another pc and it workedany ideas anyone ?

Flyer answered 24/10, 2011 at 20:31 Comment(1)
Have a look at the accepted answer of #4512566. Mostly I make the mistake to open classes in an eclipse project that are not yet properly added to the classpath of the project.Dube
C
18

After having installed the JD-Eclipse plugin, a new entry appears in Preferences->General->Editors->File Associations when you select *.class

Make sure Class File Editor is marked as default

Catalepsy answered 12/11, 2011 at 1:15 Comment(6)
Worked for me under Ubuntu, eclipse 3.7.1.Var
JD-Eclipse 0.1.3 worked for me under Eclipse 3.7 Indigo running on Windows 7 64 bits (the same of OP's conditions).Boyle
I meant that this solution worked for me! :) Thanks, Thierry Hermann.Boyle
Do the same for "*.class without source"Rozalin
after doing this, those jars with source code attached are also de-compiled rather than using the source code; this is unwanted... I tried to make class file viewer as default and then with class file editor, but it will not de-compile.... i'm using win 7 32 bit, eclipse 3.7 sr2 and jd elipse 0.1.3Rieth
I have 2 editors listed: Class File Viewer [Decompiled] & Class File Viewer. Anyone know the difference?Complete
C
6

To get this working in Eclipse Juno, I had to go to Preferences->General->Editors->File Associations and under "*.class without source" I had to go to "Add..." and select Class File Editor.

Chandelle answered 25/7, 2012 at 13:20 Comment(1)
thanks!! also, you need to mark the Class File Editor as default or else it won't work (at least for me!)Eponymous

© 2022 - 2024 — McMap. All rights reserved.