2

I want to distribute a Java desktop application for Windows. Which is the best method?

Convert a .jar fiel to an EXE file and bundle it with NSIS.

Or is there any another method?

I want it for a Windows application with an easy interface to install.

The application is 3 MB, but if I bundle JRE with it its size increases. Is there any alternative, like adding some DLL file, etc.?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
nicky
  • 3,810
  • 9
  • 35
  • 44

3 Answers3

3

I would recommend JSmooth as a really good open source program to create an exe from a jar. It also has the functionality to check for a JRE when executed which is important when distributing your application.

Paul
  • 4,812
  • 3
  • 27
  • 38
2

Consider Java Web Start.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
kgrad
  • 4,672
  • 7
  • 36
  • 57
0

IzPack And is cross platform

Enrique
  • 9,920
  • 7
  • 47
  • 59