This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
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: 1121

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://aspose.com/file-tools
 
subject: How to make a class file which cannot decompiled?
 
Similar Threads
How to create exe file
Security of Java Jar file
decompilation of .class file into .java
Securing My Application
encryption and decryption