This is my previous in the personal blog 3yj wrote an article, now reproduced, the original address (this is not advertising OH)
A few years ago, the first contact with Java was. Just want to use some methods to protect their own fruits of labor, has also used a lot of this tool. There is a particularly useful, write an article today to share with you.
Today to use the tool has Jsmooth 0.9.9-7 Chinese version, can be downloaded to this site:jsmooth 0.9.9-7 Chinese version
First of all, you have to package your program into a double-click to run the package, the detailed method I will not say more, online very much, the main command is: Jar CVFM Test.jar *. *-C, etc.
The main is to ensure its MANIFEST. MF file contents such as the following:
<textarea cols="50" rows="15" name="code" class="xhtml">Manifest-version:1.0created-by:1.6.0_02 (Sun Microsystems Inc.) MAIN-CLASS:HSSF</textarea>The following goes into Jsmooth's exe production tutorial. After downloading the program, execute Jsmoothgen.exe
1. Go to "applications" and join your jar file.
2. Then select the main class file
3. Go to "Running files". Write the path to the generated file. and file icon
4. Go to "skeleton" and choose a skeleton. It is mainly used to alert the JRE environment,
5. Finally. Click the Compile button on the toolbar to watch the reminder. Sometimes it fails and can be tried a few more times.
6. Finally generated the corresponding file with the icon, the following is a program I have. (There is also an EXE file for the icon.) Others are very hard to crack)
This concludes the tutorial. Suppose there is a problem. Be able to send me an e-mail
Using Jsmooth to make Java jar files can run EXE file tutorial images