Obfuscators and jar files

J

javadev

I have created a jar file which works well and I wish to obfuscate this
file. I tried 2 obfuscators so far that can obfuscate jar files, Zelix
KlassMaster and Marvin Obfuscator. Both these work and generate
obfuscated jar files but neither of the generated files work. Both
produce "Java Virtual Machine Launcher" errors. The one from Marvin
Obfuscator seems to be invalid/corrupt while the one generated by Zelix
KlassMaster gives a fatal error.

Does someone know any "reliable" obfuscator that can produce a
completely functional jar file from an already functional jar and/or
any way I can set right the errors I've mentioned above?

Regards
SS
 
C

Chris Uppal

javadev said:
I have created a jar file which works well and I wish to obfuscate this
file. I tried 2 obfuscators so far that can obfuscate jar files, Zelix
KlassMaster and Marvin Obfuscator. Both these work and generate
obfuscated jar files but neither of the generated files work. Both
produce "Java Virtual Machine Launcher" errors.

Is this a JME application, and are you obfucating a JAR which has stack maps
already computed ? If so then you can't do that, you have to obfuscate before
computing the maps. See:
http://developers.sun.com/techtopics/mobility/midp/questions/obfuscate/


-- chris
 
J

javadev

Hi Roedy

Well, the link you have suggested was my starting point for the whole
obfuscation process. I got to the Zelix KlassMaster and the Marvin
Obfuscator from there.

Thanks
Swetha
 
J

javadev

I tried ProGuard and it did give me a working output!!! But when I
decompiled the output I found that more obfuscation was needed. Many
parts of the code that I wanted obfuscated hadn't been changed.

Swetha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top