JLaunchPad project is the set of Java classes and shell scripts for simplifying installation/launching of Java applications. Once the launcher is installed, it can be reused for starting different Java applications.
For your application you have to specify required dependencies on other Java libraries. When application is getting executed first time, all dependencies will be downloaded and installed automatically into your local repository. For all consequent executions of the application download process is not required and the only one responsibility of the launcher is to build correct "classpath" and launch the application.
In order to install launcher you should have preinstalled Java Virtual Machine. In "config.bat/config.sh" modify "JAVA_HOME" variable to point to preinstalled Java. Now you should run this command:
The program will ask to set up few values/locations:
- Java Home (JAVA_HOME);
- Launcher Home (LAUNCHER_HOME);
- Repository Home (REPOSITORY_HOME).
Java Home variable specifies the location of JDK that will be used for launching Java application.
Launcher Home is the location, where launcher will be installed.
Repository Home (local repository) is used for storing all java libraries, required by the launcher and launching program.