Search code examples
javanetbeansjavafxdesktop-applicationjavac

I have developed a java desktop application for windows i need to make exe file


I have developed a java desktop application for windows i need to make exe file, I don't know procedures to develop exe from my project


Solution

  • Right-click the desired project and choose Package as > EXE Installer from the context menu (https://netbeans.org/kb/docs/java/native_pkg.html#instse)

    Note: The IDE creates an EXE installer only if Inno Setup is installed and added to the system Path variable (https://netbeans.org/kb/docs/java/native_pkg.html#tool)

    When the EXE installer is ready, it is placed in the /dist/bundles/ directory.