Use exe4j to turn jars into EXE

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.