To convert .jar into .exe
installer, there are two steps: Convert jar into exe, and convert the generated exe application into exe installer.
1. Convert jar into exe
To convert jar into exe,
use Jar2Exe software. This is a paid software
but there is trial period. These are the steps on how to use the software:
a. Click Next on the displayed window or click Activate Online to enter activation key.
b. Click Next.
c. Click one of the
application type, e.g. Windows
GUI Application.
d. Select the main java
class (class that will be displayed on the first time).
e. Click Next.
f. Select other jar files
needed in the application.
g. Enter the exe filename.
Put checklist in Create 64
bits executive checkbox if
the application will be run on Windows 64-bit. Click Next.
2. Convert the exe
application into exe installer
To convert exe application
into exe installer, use InnoSetup software.
This is a paid software but there is trial period. To use the software, you
need to create script. You can create the script by using Script Wizard (select Create a new script file using the
Script Wizard button) and
click OK.
After the script is
created, it needs to be run. After being run, the exe installer will be
created.