[ACCEPTED]-Create Windows Installer for Java Programs-installation

Accepted answer
Score: 15

From here:

Open Source Installers Generators in Java

IzPack

IzPack is an installers generator 77 for the Java platform. It produces lightweight 76 installers that can be run on any operating 75 system where a Java virtual machine is available. Depending 74 on the operating system, it can be launched 73 by a double-click or a simple 'java -jar 72 installer.jar' on a shell. The most common 71 use is to distribute applications for the 70 Java platform, but you can also use it for 69 other kinds of projects. The main benefit 68 of IzPack is that it provides a clean and 67 unique way of distributing a project to 66 users using different operating systems.

VAInstall

VAInstall 65 is a multi-platform installer written in 64 Java. It is distributed under the GNU GPL 63 License 2. Through a simple config file, it 62 allows the packager to pick files and directories 61 from various places on disk, and not only 60 one root dir like other installers. The 59 packager can completely reorganize the files 58 and dirs on the destination host. He can 57 choose the install mode for the destination 56 host (graphic, xtra, text or ansi).

Packlet

Packlet 55 is a simple installer tool for Java. A packlet 54 is similar to a zip or tgz file: it packages 53 an application into a single compressed 52 file that can be distributed. Packlet files 51 are Java class files that can be executed 50 on any machine with Java 2 Runtime Environment 49 installed. Executing a packlet brings up 48 an installer gui to configure and unpack 47 the application.

Lift Off Java Installer

Lift Off Java Installer 46 is an installer for Java applications. Highlights 45 are self-extracting class files, minimal 44 requirements for the Java installation on 43 the target system, and cross platform installation.

Mini Installer

A 42 simple package to build self installating 41 programs in Java. The process is script 40 driven, the result is a unique JAR file 39 that the user can double click to execute 38 a wizard-like installation process.

JSmooth

JSmooth 37 is a Java Executable Wrapper that makes 36 a standard Windows executable binary (.exe) from 35 a jar file. It makes java deployment much 34 smoother and user-friendly, as it is able 33 to find a Java VM by itself. When no VM 32 is available, it provides feed-back to the 31 users, and can launch the default web browser 30 to an URL that explains how to download 29 a Java VM. Note: NOT COMPLETELY WRITTEN 28 IN JAVA

Launch4J

Windows native executable (.exe) java 27 application wrapper. Offers native splash 26 screen, application icon, search for JRE 25 or use bundled one, feedback on startup 24 failure, passes command line arguments.

AntInstaller

AntInstaller 23 is an installer framework which uses a simple 22 XML file to define the UI, and Apache Ant 21 as a back end. The installers can therefore 20 do anything Ant can, and are compatible 19 with Ant's extension mechanism. Installers 18 can be packaged as a selfextracting Jar 17 and can run from the command line or a Swing 16 GUI. AntInstall can also be used as a GUI 15 front end for existing Ant builds.

Antigen

Antigen 14 (Ant Installer Generator) is a tool to take 13 an Ant build script, combine it with a GUI 12 and wrap it up as an executable jar file. Its 11 primary purpose is to create powerful graphical 10 installers from Ant scripts.

Java Service Wrapper

The Wrapper 9 makes it possible to install a Java Application 8 as a Windows NT Service. The scripts provided 7 with the Wrapper also make it very easy 6 to install those same Java Applications 5 as daemon processes on UNIX systems. The 4 Wrapper correctly handles user log outs 3 under Windows, service dependencies, and 2 the ability to run services which interact 1 with the desktop.

Score: 10

Deploy the app. from a web site using Java Web Start. Ensure 2 the user has the minimum Java using deployJava.js (linked 1 from the JWS info page).

Score: 8

You can use WiX to create Windows Installer 6 package. The package will include the JRE 5 binaries and your compiled application (jar 4 file). Upon installation, the installer 3 unpacks your files to user's computer, creates 2 shortcut that starts your application (app-path\jre\bin\javaw.exe -jar app-path\your-app.jar).

See 1 notes on Redistributing the JRE and in README.

Score: 6

You can use either NSIS or Inno Setup

0

Score: 5

I use a program called JSmooth. This turns 7 java .jar files into executables. I then 6 take those executable and create a installer 5 using InstallShield. InstallShield allows 4 you to create highly customizable installers. There 3 is a free "Light Edition" that you can use. Very 2 easy to do and very easy to add to build 1 scripts.

Score: 2

You can use Ant task tool with InnoSetup 3 and Launch4j under Eclipse IDE to create 2 a professional-looking Windows-based EXE 1 installer for Java-based program: How to create an exe file in java

Score: 1

You can use the install4j for the create 5 exe file for jar file of java project and 4 use the Inno Setup Compiler file for create 3 the installer for the project. this ts Youtube 2 vedio for the how to create the exe and 1 installer

video for create the exe and installer

Score: 0

Basically, you have to save your project 7 in jar and then convert to exe, you can 6 use jar4exe or other software. When you 5 have the exe file, use an installer software 4 like Inno Setup Compile or other. After 3 all those stpes Your project will be ready 2 to be install in windows, mac or linux platform. Good 1 Luck.

Score: 0
  1. Install exe4j

    • This you will use to create a .exe file from a jar file
  2. Install inno setup compiler

    • This is used to create installer

An 2 outdated but relevant video to guide you 1 through https://www.youtube.com/watch?v=kSmhIunxVW4

More Related questions