views:

378

answers:

3

Possible Duplicate:
How to lock compiled Java Classes to prevent decompilation

...ideally combined with licensing? Our product is ported from PHP to Java. With PHP, there was a great code encryption / license tool named IONCube Encoder. It encrypts the PHP source code an allows the execution only if a appropriate license is present.

Is there any equivalent for a Java application (that does not rely on a hardware dongle)?

+2  A: 

IONCube Encoder works by obfuscating your code, not encrypting it. If you want to get the same effect, there are a number of obfuscation tools for Java, such as

David Grant
Thank you for your reply, but I'm in doubt about what you said about IONCube. It works with a key to encrypt the source code and decrypts it using a PHP-Module an the licence as decryption key.
Mulmoth
+1  A: 

Take a look at JET Excelsior. That's what we've been using and it's worked pretty well for us.

Herminator
Oh, good Idea, we used it once a couple of years ago - we will evaluate this.
Mulmoth
+1  A: 

You might also want to have a look at the proguard obfuscator

er4z0r
Thank you but does this achieve byte code encryption?
Mulmoth