I developed a desktop application in Java. I converted my code in the form of Executable jar (.jar) format. Here my problem is, this jar files easily extracted by winrar/winzip. My Java class files are visible to others and also i do De-compilation process using JAD my source code are visible to everyone. is any way to protect my source code from De-compileation process.
You can't 100% stop decompilation but you can obfuscate your code that will be hard to read once after decompilation
As Jigar Joshi said you can obfuscate your jar file. Proguard is a good one. Here's the link to it. http://java-source.net/open-source/obfuscators. Alternately you can convert jar to exe using jar to exe converter. You can download it here. But you have to purchase it. http://www.regexlab.com/en/jar2exe/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With