For years, Java Web Start has been used as deployment vehicle for Java Desktop applications. As of Java 9, however, the feature has been deprecated – and in Java 11, Java Web Start has been removed completely.
Oracle has pitched several other deployment scenarios, but many existing projects, products and components have trouble to make that change in time, or at all for that matter. Open Web Launch has been created to fill the gap this change of functionality leaves behind.
Note:
Open Web Launch can work with any Java version of any provider (Oracle, OpenJDK or IBM), with JREs and JDKs. Note that Open Web Launch will not address any Java-compatibility issues for the Java applications it serves – this is the responsibility of their manufacturer. The prime goal for Open Web Launch is to run any application as configured in its JNLP file against a Java version which may officially no longer support Java Web Start.
This scenario makes sure double clicking a JNLP file in the explorer opens it, downloading required resources, and starting the application as instructed.
Note:
This scenario needs the Open Web Launch (OWL) application to be installed.
This scenario takes care of intercepting JNLP file URLs that are clicked on in a browser and redirects their handling to the Open Web Launch application, downloading required resources, and starting the application as instructed.
Note:
This scenario needs the OWL browser extension and application to be installed.
This scenario redirects every URI starting with jnlp:
or jnlps:
and redirects their handling to the Open Web Launch application, downloading required resources, and starting the application as instructed.
Note:
This scenario needs the OWL application to be installed.
There are two ways to install OWL on your system – either through a setup (executable) or through a browser extension.
An appropriate Java version needs to be installed on the system for OWL to work. Certificates required by a Java application need to be imported.
The setup allows to specify some configuration options. These can be modified post-installation by running Modify from the Control Panel or by choosing Configure Open Web Launch from the Start menu.
Run the setup for the current user only.
-
Point at the Java you want to use for all Web Start applications
-
Select whether you want to make OWL the default for opening JNLP files
-
Select whether you want to register the JNLP and JNLPS protocol for Open Web Start
-
Select whether you want to show the Java console when opening JNLP files
Run the setup so that all users on the system have access to it.
-
Point at the Java you want to use for all Web Start applications
-
Select whether you want to make OWL the default for opening JNLP files
-
Select whether you want to register the JNLP and JNLPS protocol for Open Web Start
-
Select whether you want to show the Java console when opening JNLP files
Note:
Administrative privileges are required for this.
There is an option to run the setup silently, which uses the defaults:
setup /s
OWL can be uninstalled from the Control Panel or from a shortcut in the Start menu.
The extension for Chrome is available in the Chrome Web Store from https://chrome.google.com/webstore/detail/open-web-launch/pmmlhpkdpbddohdbnjinopbkmlcnjnhc.
The add-on for Firefox is available on the Mozilla site from https://addons.mozilla.org/en-US/firefox/addon/open-web-launch/.
Open Web Launch has the following command line options:
Default
This is the command line executed when double-clicking a JNLP file.
openweblaunch.exe <jnlp reference>
-uninstall
This command allows to uninstall a specific Java Web Start application.
openweblaunch.exe -uninstall <jnlp reference>
-gui
option together with -uninstall
allows to show GUI during uninstall.
openweblaunch.exe -uninstall -gui <jnlp reference>
-javaDir
This command allows to pass a specific Java that should be used for starting a Java Web Start application.
openweblaunch.exe -javaDir <java folder> <jnlp reference>
-showConsole
This command allows show Java console when a Java Web Start application is running.
openweblaunch.exe -showConsole <jnlp reference>
-disableVerification
- When
-disableVerification
is specified, Open Web Launch will skip signature verification in jar files.
This command allows to skip signature verification in jar files.
openweblaunch.exe -disableVerification <jnlp reference>
-disableVerificationSameOrigin
- When
-disableVerificationSameOrigin
is specified, Open Web Launch will not verify that all jars have same signature.
This command allows to skip verification that all jars have same signature..
openweblaunch.exe -disableVerificationSameOrigin <jnlp reference>
-help
This command allows to show usage information.
openweblaunch.exe -help
Open Web Launch is available for Windows, macOS and Linux.
Both versions are installed by default (openweblaunch32.exe
and openweblaunch64.exe
).
Based on the JVM selected, the setup will make the 32 or 64-bit version of Open Web Launch the default.
Open Web Launch will check for changes between remote and local JNLP files and refresh where needed.
This is the order by which Open Web Launch determines what Java executable it will use to run a Java Web Start application:
Command line options
- When
-javaDir <java folder>
is specified, Java installation from<java folder>
will be used.
JAVA_HOME
Open Web Launch will use the JAVA_HOME
environment variable to locate the version of Java it should use if this was selected during setup.
Registry
Open Web Launch will use a specific version of Java if this was indicated during setup.
Path
If none of the other options result in a Java version that it can use, Open Web Launch will try to locate Java on the PATH
.
Element | Attribute | Values / Description | |
---|---|---|---|
information | |||
icon | |||
shortcut | |||
title | |||
vendor | |||
homepage | |||
description | |||
version | App version like 1.0.1. The tag is Open Web Launch extension | ||
application-desc | |||
resources | |||
os | windows, darwin, linux | ||
arch | amd64, x86 | ||
j2se or java | |||
version | |||
java-vm-args | |||
jar | |||
href | |||
nativelib | |||
href | |||
name | |||
extension | |||
href | |||
name | |||
version |
https://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/jnlp.html
https://docs.oracle.com/javase/tutorial/uiswing/examples/misc/index.html
https://chrome.google.com/webstore/detail/open-web-launch/pmmlhpkdpbddohdbnjinopbkmlcnjnhc
https://addons.mozilla.org/en-US/firefox/addon/open-web-launch/