views:

49

answers:

3

hi all i have a .jar files.i want to see the classes and code how it is designed.when i try to open it in netbeans all .class extensions says cannot open.am i missing something??how to see the code behind a .jar file???

help is apperciated.

A: 

You must find a java decompiler to see the code. If it has been obfuscated, you won't get anything helpful.

True Soft
+1  A: 

Most jar files won't have source inside them. If the jar files are for open source software, you should be able to find the source on the same website where you got the jar files.

If you can't find the source, you can try decompiling the compiled class files (described in another answer). You may not legally have the right to do this, however.

nojo