Edit a .jar?
I created a .jar file but I can't figure out how to unpackage it and edit it with Eclipse. I don't have any other files for it (I changed computers and forgot to back up my workspace), just the .jar.
So far, I've tried importing the file through Eclipse but when I try editing a class it says no source code. :(
Is there any way to get back to the code or am I stuck with my .jar?
Google "jad" and decompile your code. It won't be exactly the same, but it should, at least, be recognisable.
Maybe I'm doing something wrong, but its not working with .jar files. In the readme, it only gives instructions to decompile a .class.
a jar is just a zip file filled with .class files and resource files. So unzip it first, then decompile the unzipped .class files.
Thank you very much! It worked great! :D