Is there any chance, to recreate a (netbeans-)project from a .jar file? Becuase I trusted some silly cryption-software that corrupt's my file.

Is their any suggestion or solution? I already extracted the .jar file with terminal commands 'jar xf MyJarFile.jar'. But I can't read the code in it...

有帮助吗?

解决方案

You could decompile the jar into the sources and then create a new project and drag all the sources into your src folder. I like using JD-GUI for decompiling .jars: http://java.decompiler.free.fr/?q=jdgui

其他提示

I also recommend using JD-GUI, it helped me a lot when my simple text editor corrupted my .java files and I was able to convert the classes back into source using it.

delete the $ files first, then Jad is the best, jdgui makes errors.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top