This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to make a class file which cannot decompiled? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to make a class file which cannot decompiled?" Watch "How to make a class file which cannot decompiled?" New topic
Author

How to make a class file which cannot decompiled?

Vishnu Murthy
Ranch Hand

Joined: Jan 04, 2001
Posts: 56
Hi all,
I want my .class file not to be decompiled by any other tools. Can we achieve this? if yes Pl. explain as how to do it. It is very urgent pl.
Thanks
Vishnu
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Try this.
- Peter
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1114

Hi Vishnu,

I want my .class file not to be decompiled by any other tools. Can we achieve this?

Although Peter has offered you a list of obfuscators (I believe -- I didn't actually follow the link he gave), it may not be possible to create a truly non-decompilable ".class" file. Read this for more details:
http://www.javaworld.com/javaworld/javaqa/2003-05/01-qa-0509-jcrypt.html
Hope this helps.
Good Luck,
Avi.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to make a class file which cannot decompiled?
 
Similar Threads
Security of Java Jar file
encryption and decryption
Securing My Application
How to create exe file
decompilation of .class file into .java