Reputation: 82
I have my project in .jar file.
But i lost the source code of it.
How to get source code from .jar file.
Upvotes: 1
Views: 13080
Reputation: 56
First of all I would like to tell you that if your project is big and complex, you are in trouble. Generated source code via external tools(no matter whatever the tool is) is never same as the real code. Code like comments, constants, inner classes, etc gets messy.
For simpler code and projects you can use -
But always know this that its not what was written originally in the source code.
Upvotes: 4
Reputation: 10813
You must decompile your code. You can use Java decompiler http://jd.benow.ca/
Upvotes: 1