What about Shield4J (shield4j.com)? It's an online service to obfuscate and encrypt Java classes. You can upload your Java applications as Jar archives. It has several profiles for main-based apps, applets, web apps, ... and can encrypt Strings too.