How can we prevent jar file from being extracted.

I have made an application and now I want to distribute it. My main concern is that class files can be easily decompiled.

If jar files can be prevented from being extracted then this may solve my problem or kindly suggest me some way through which class files can be sealed or prevented from being decompiled.

[322 byte] By [prabh13a] at [2007-11-27 11:48:21]
# 1

you can't prevent the jar unzipping, but you can "obfuscate" your code.

Google: java obfuscation

or java obfuscator

here some links

+++++ http://www.java-source.net/open-source/obfuscators

http://www.cs.arizona.edu/~collberg/Research/Students/DouglasLow/obfuscation.html

http://www.yworks.com/en/products_yguard_about.htm

java_2006a at 2007-7-29 18:18:45 > top of Java-index,Desktop,Deploying...
# 2

Ask yourself if it's worth the bother. Is your code really so ground-breaking and clever that people will want to steal it? It rarely is

georgemca at 2007-7-29 18:18:45 > top of Java-index,Desktop,Deploying...