This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JAR Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JAR Security" Watch "JAR Security" New topic

JAR Security

Lefty Gomez

Joined: Nov 15, 2001
Posts: 14
I made an applpication and I want to distribute it on the internet but I want to know if there is a way to put all my code on a jar file and make that no one can open it and decompile my class files.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
You need to do a search for obfuscators, which make it very difficult to decompile and understand your source code.
This has been discussed here alot, or you can do a google search.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Lefty Gomez

Joined: Nov 15, 2001
Posts: 14
I already had use it, but is there anyway that people could not open the jar file.
I agree. Here's the link:
subject: JAR Security
It's not a secret anymore!