-1

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

Arun Mohan
  • 211
  • 3
  • 12

3 Answers3

3

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.

achAmháin
  • 4,176
  • 4
  • 17
  • 40
  • Do i need to pay money to oracle for its usage – Arun Mohan Mar 21 '17 at 15:23
  • I believe it's free although I have not used it. – achAmháin Mar 21 '17 at 15:25
  • http://www.jrsoftware.org/isinfo.php --> "Is it really free of charge, even for commercial use? Yes, it may be used completely free of charge, even when deploying commercial applications. However if you wish to show your appreciation and support its development you can make a donation." – Fildor Mar 21 '17 at 15:37
  • While you are in this category, I suggest you go ahead and download http://wixtoolset.org/. It covers Windows installation packages. That way, when you create your exe you can also create your MSI. – SedJ601 Mar 21 '17 at 16:38
0

This answer extends @pruntlar answer.

Since you will be making Windows applications I suggest you also look into Windows Installer Package(MSI). The Netbean link @pruntlar provided should also cover this topic. The tools needed are available free here: http://wixtoolset.org/

SedJ601
  • 12,173
  • 3
  • 41
  • 59
0

Why not launch4j.

It's written in Java and it can create a .exe file that you run your jar file or it can create a .exe file with your jar file inside it.

liponcio
  • 264
  • 1
  • 9
  • Sir i have got exe file but in normal software installation procedures there are accept license, location selection etc in installation file how can i make this exe file as an installation file – Arun Mohan Mar 22 '17 at 09:13