installer - How can I convert my Java program to an .exe file? -


if have java source file (*.java) or class file (*.class), how can convert .exe file?

i need installer program.

is there open source program can that?

some options:

executable jar file

see distributing application executable jar file , oracle docs on how create jar file can executed double-click on windows.

jsmooth

(edit: last release in 2007)

jsmooth java executable wrapper. creates native windows launchers (standard .exe) java applications. makes java deployment smoother , user-friendly, able find installed java vm itself.

jexepack

(edit: shareware: last updated in 08/29/2013 version-8.4)

jexepack command line tool (great automated scripting) allows package java application (class files), optionally along resources (like gif/jpg/txt/etc), single compressed 32-bit windows exe, runs using sun's java runtime environment. both console , windowed applications supported.

launchanywhere

(edit: commercial free trial, last version 2012)

a lax executable executable file used launch java application on launchanywhere-compatible platform. currently, installanywhere creates launchanywheres on windows 95/98/nt/2000/me, solaris, linux, , mac os x. launchanywhere enables end-users double-click on icon (windows or mac os x) or type single command (unix) start java application.

see reference convert java exe: why, when, when not , how


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -