Retroguard How to use: (Repost from www.cnjm.net)
Retroguard is a very nice Java obfuscator, and this obfuscator has been taken in the Enterprise Edition of JBuilder7. Retroguard itself is a Java program (a JAR package), so you must install JDK first. You need to set some environment variables before running, in addition to the execution path to the Java in Path, add D: /Retroguard/Retroguard.jar in ClassPath (assuming your retroguard.jar under D: / Retroguard). If you don't set ClassPath, don't matter, just add the path parameters through -classpath every time you run. When you set up a good running environment, you have to prepare you to confuse .jar files, as for how to pack compiled classes into. JAR files are not here. Retroguard's execution format is: Java Retroguard [Enter JAR File [Output JAR File ["Reserved Scripting File" [Log File]]
The "reserved script file" describes those classes, functions, and variable names must be retained, and cannot be confused; the log file is the recorded file generated after execution, the recorded error, confusion, and other information. For the "reservation script file" can be set by a graphical interface RGGUI, after the Java RGGUI runs, you can select the JAR file according to the prompt, select the class, function, variable, and automatically generate "retention script after completion of the class, function," file". In fact, it is usually usually necessary to keep the starting class name. If your JAR package uses a third-party function library, such as Siemens's API, then specify in the -classpath parameter. For example: java -classpath c: /siemens/smtk/6688i1_b8/lib/api.jar retroguard in.jar out.jar script.txt log.txt
If Retroguard confuses fail, you can view the log file to get an error message. Here I found a question, I have encountered a file like ... $$ 1.Class, Retroguard will prompt an error, and then I have modified his source code and directly skipped the processing of this file.
JBuilder7 sets and usage: JBuilder7's Enterprise Edition with RetRoguard V1.1, retroguard-v1.1 in the JBuilder7 installation path. Retroguard can be called directly in JBuilder7. The way the settings are as follows: Point menu Tools -> configure obfuscators Configure the obfuscator, the new ... New ... Newly built a copy, select the RETROGUARD path, complete the configuration. Use the Archive Builder, click Menu Wizards -> Archive Builder ..., Archive Type Select MIDlet (here only introduction to J2ME app), then set up to step by step according to prompts, reaching step 9 is the obfuscator setting At the time, select Obfuscate The Contents of the Archive, Obfuscator Select Objector, Use The Classes Specified Blow Add to be reserved class (default reserved start execution class), end the setting. This will automatically generate a confusing JAR file package when compiling each time.
Sun's Jade
Run java setup.class is under F: / JADE / LIB
Run Java Jade G
The graphical interface appears, it can be confused.