Required Tools MyEclipse, Jar2exe (attached, direct decompression can be linked with: https://pan.baidu.com/s/1qYPRgXu password: WBVA)
1. Export the Java project as a. jar Package
Right-click the project name, select Export
Select the runnable JAR file in the export mode, click Next to continue
Select the path of the export file:
Jar file successfully exported to desktop
2. Use the tool to package the jar file as exe executable file
Select the jar file you just exported
Select the type of program you want to export:
Select Main class, picture is optional
Specific settings for the Export program:
Select the secondary jar file is not selected:
Last for EXE file name and replace icon (icon download website, http://www.easyicon.net/1193403-qq_icon.html//ico icon download)
Successfully generated executable file
To package a Java program into an executable EXE file