j_script
asked on
Can Java decompiler decompile a jar file ?
Can a Java decompiler decompile a jar file ?
why don't you unjar the jar file first and then decompile the classes?
ASKER
Is that a way to prevent unjar the files ?
this will depend on your decompiler. You should read the decompiler's documentation, there might be an option to decompile classes from jar files.
ASKER
Then is there any others to prevent my class from being decompiler ?
ASKER
Then is there any others to prevent my class from being decompiler ?
sorry, I don't understand your question. Maybe you should take more caution to post understandable questions.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW, a jar file is just a zip file with a manifest added to it. You can just rename any .jar file to .zip and open it in winzip.
You could also use
jar xf "name of file".jar
jar xf "name of file".jar