Summarize their own use exe4j process used last time but this time completely forget the look tutorial before morning saw a success. I really deceives himself dizzy,
The ease of use for the next write a blog. (Do some exe program using Swing feeling pretty good)
Reference website:
1.https: //www.cnblogs.com/duwanjiang/p/6390379.html bloggers: Mo phase from, N
2.https://blog.csdn.net/xiciliu/article/details/54893150
The first step in packaging my java small deome
1.1 Right project export-> java-> JAR file
1.2 Select the folder to export jar
Check out the 1.3 class file export contains compilation errors and warnings of these two
1.4 and Next-> Finish. Ok packaged finished
The second step uses exe4j tool (this process is a bit complicated)
Here I will move over the sins of Haha (shameless, despicable), easy to use next time
License Key:
A-XVK258563F-1p4lv7mg7sav
A-XVK209982F-1y0i3h4ywx2h1
A-XVK267351F-dpurrhnyarva
A-XVK204432F-1kkoilo1jy2h3r
A-XVK246130F-1l7msieqiwqnq
A-XVK249554F-pllh351kcke50
A-XVK238729F-25yn13iea25i
A-XVK222711F-134h5ta8yxbm0
Next, plug-operation
2.2 JAR->Next
2.3 exe create your home directory
a.image which stood .ico picture (on the Internet can be made online, for the cover of the exe)
b.jre java environment jre jre or jdk with the same level directory under jdk directory (mine is the latter)
c.lib stood behind you pack a good jar package will be used
2.4 Configuring executable file
2.5 Check the following figure, then Next
2.6.Next to the figure below, click the green plus sign
a. Add your packaged jar package (how many how many plus), select your startup class, Next
Fill in your jdk version 2.7 range, click Search sequence
2.8 Add your jre (complex before coming)
Next up to 2.9 exe4j has finished and then click Restart, you exe4j program prompts to save the configuration.
ok, configure your program and the program has a
End!