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,030
  • 21
  • 100
  • 124
nicky
  • 3,700
  • 8
  • 34
  • 42

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,686
  • 3
  • 28
  • 38
2

Consider Java Web Start.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
kgrad
  • 4,552
  • 7
  • 35
  • 57
0

IzPack And is cross platform

Enrique
  • 9,446
  • 7
  • 45
  • 57