File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to protect my source code? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to protect my source code?" Watch "How to protect my source code?" New topic
Author

How to protect my source code?

Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55
Hi,
How to protect source code from decompilers?!


--BJCK--
Chris Harris
Ranch Hand

Joined: Sep 21, 2003
Posts: 231
Try zelix a tool that provides java obfuscation.


SCJP 1.2, SCWCD, SCBCD
Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
You can't. If the Java VM will run your code, it can be decompiled. Obfuscators can make the decompiled code hard to read, but AFAIK, there is not way to prevent decompiling.
Brian


My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 364
The only way to "protect" your code is to not distribute it and provide a service instead of a product.


[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to protect my source code?
 
Similar Threads
make a EXE in java
Class file to Java Source
protect web application
Protecting my JavaScript Code
Servlet Security