Turn the Java program into an executable. exe. Search the Internet for a bit. You can use exe4j.
But there are always some minor mistakes in the conversion process. Version reason, or other reason.
I use exe4j version exe4j_windows-x64_5.0, download in green League. Download, install here not much to say.
Here's a record of your own successful experience sharing.
1. Open exe4j, here Direct next
2. Choose Jar in EXE mode here, then next
3. Enter a name here, and choose the post-packaged EXE storage location
4. Here executable name Enter the name of your exported exe. The following icon file: Choose EXE's program picture, the format is icon, here is optional
Do not click Next, point to the left of the 32-bit or 64-bit, select Generate 64-bit operating system program, not selected as 32 bits. Such as
5. The fifth step here requires operation of two places. 1 Click on the right green + sign, pop up the small window in archive select your Jar file.
Next, click on the main class of your main portal after this position in main class, as
6. Next here is the sixth step, select the JDK version range, for example.
Next several direct next will be available. Then your EXE is generated.
Use exe4j to turn jars into EXE