Convert jar to exe file and Run exe file without JRE


If you want to convert jar file to exe file and run exe file without JRE then you can do it by following methods:

1. Using netbeans

The following additional tool need to be installed:

  • Inno Setup 5.5 (or more recent) for producing EXE installers on Windows is required.

you can download Inno Setup from

To add Inno Setup to the system Path variable:

1. On Windows 10, select Start> Control Panel > System and Security > System >Advanced system settings

2. Select the Advanced tab and click the Environment Variables button.

Advanced system settings

3. In the System Variables pane, double-click the Path variable.

4. In the Edit System Variable dialog box, add a new path to the Variable value field (for example, C:\Program Files (x86)\Inno Setup 5).

path variable settings

5. Click OK to close all the open dialog boxes.

Enabling Native Packaging in the Netbeans IDE

The native packaging actions are disabled in the IDE by default.

1. Right-click the project node in the Projects window and select Properties from the context menu.

Project Properties

2. In the Project Properties dialog box, choose the Deployment category and select the Enable Native Packaging Actions in Project Menu option.

enable native packaging

3. Click OK.
A Package as command is added to the project’s context menu.

package as

4. Now click on clean and buid project button( or press shift+F11)

5. Right-click the project node in the Projects window and select Package as > EXE installer from the context menu.

EXE installer

After this, you can see your exe file from Files tab select your project > dist > bundles.


2. Using Excelsior JET

you have to install Excelsior JET on your can download it from

Leave a Comment

Your email address will not be published. Required fields are marked *