Suman Rajan

Javaws & Jnlp Fix In Debian(Buster)

Suman Rajan
Table of Contents

What is Javaws? #

The javaws command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP).

Java Web Start launches Java applications/applets hosted on a network.If a JNLP file is specified, javaws will launch the Java application/applet specified in the JNLP file.

Issue #

Java Applet and WebStart functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start including the javaws tool are all deprecated in JDK 9 and will be removed in a future release.My java version is

1
2
3
4
java --version
openjdk 11.0.4 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing)

whcih doesnt come with javaws by default

Fix #

Javaws is provided by icedtea-netx in debian(Buster), to install

1
     sudo apt install  icedtea-netx

Execute Jnlp by javaws command

1
     javaws jnlp_jviewer41.jnlp

To open jnlp files within firefox , set application default as IcedTea web start from Jnlp file properties