Use exe4j to convert jar to exe and exe4jjar to exe

Source: Internet
Author: User

Use exe4j to convert jar to exe and exe4jjar to exe

I have read a lot of posts about exe4j recently, which are basically very old, and there is still a bit of pitfall that will be explained. I used exe4j5.1.

You can download https://www.ej-policies.com/download/exe4j/version_51.

Please install Baidu on your own, there are tutorials

1. First open exe4j

 

2. Click next and select "JAR in EXE" mode.

3. Click next and enter General and Directories.

4. Click "next". For example, the image can be deselected.

5. Note that if your jdk is 64-bit, make sure this option is selected.

6. Click Next and select the corresponding jar package. The jar package must be placed in the first place. Then, add the corresponding jar dependency package below.

7. Note that if your database table is in UTF-8 format and you do not set the options, garbled characters will appear.

8. Click Next and fill in the options

9. If you want to run your code on a machine without jdk installed, place the jre under the exe directory and click + to select

10. continue to the next step and click OK to test

If you have any questions, leave a message and I will help you solve them.

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.