Search code examples
javadecompiling

Extracting java class files from jar


I had running executable jar of a Java project. Unfortunately I have lost all the source code but I still got the executable jar of it. Is there any possibility to extract my classes from the jar?

I have tried extracting but class files are in damaged shape.


Solution

  • To get source from .class files , just download a decompiler from here and get them.

    enter image description here