6

I have tried both JadClipse and JD-Eclipse plugin but none seems to work every time I open a class file It says "Source not found".

Both my *.class and *.class(without source) are by default set to 'JD-Eclipse' but it doesn't seem to work, Has anyone else tried this or both these plugins are deprecated now?

Below is my environment:

Eclipse: Kepler JDK: 7

Anirudh
  • 2,286
  • 4
  • 38
  • 64
  • 5
    [JadClipse for Eclipse 4.x 4.0.0](https://marketplace.eclipse.org/content/jadclipse-eclipse-4x) is supposed to work. In the future, links to specific versions of Eclipse plug-ins would be helpful in helping you diagnose problems. – Gilbert Le Blanc Dec 08 '13 at 04:24
  • I imported a war file in my eclipse project explorer...seems the class files I am trying to open are not in the project build path '"Alice/build/classes/com/complaintsystem/utility [in ComplaintmanagenentSystem] is not on its project's build path" – Anirudh Dec 08 '13 at 07:00
  • So it seems that I somehow need to put the classes in the build path...trying to figure out how! – Anirudh Dec 08 '13 at 07:03

2 Answers2

5

You may also want to use Java decompilers in the cloud, no installation, no Eclipse required: http://www.javadecompilers.com/

Andrew Rukin
  • 959
  • 11
  • 16
  • Thanks for this but what if I want to decompile a whole pack of .class files? – Anirudh Mar 20 '15 at 09:04
  • 1
    Yes, probably it is not a solution then. The site works with .jar and .class only. I am not sure it is worth making a jar and uploading it... But still it may be done... – Andrew Rukin Mar 21 '15 at 20:41
0

Got it working finally after putting the classes in the WEB-INF folder. Cheers!

Anirudh
  • 2,286
  • 4
  • 38
  • 64
  • Did you create a web-inf folder? I want to run a jar and decompile at debug time - do I have to create a web-inf folder inside the jar? – Ell Apr 01 '14 at 19:58
  • 3
    Jars could be de-compiled from Java Resources>>Libraries – Anirudh Apr 03 '14 at 04:43