How can I start/run .jnlp on linux?
I have downloaded some application samples that have .jnlp extension. Actually, these are small JavaFX applications. And .jnlp should be run with Java Web Start.
Now, I have Xubuntu, jdk 1.7, Iced Tea Web Start installed, and when I try to open some of these applications in browser (I suppose Web Start should load), nothing happens. Am I missing something, or how else can I start .jnlp application on linux?
2 Answers
In order to run a Java Network Launching Protocol (JNLP) you need to have the Java Web Start (JavaWS) software installed on your system. To verify, open the terminal and type:
javawsAt least for Debian-based Linux distribuitions, JavaWS is included within the icedtea-netx package. To install it using apt (package manager):
sudo apt install icedtea-netxSome java dependencies might be needed. If so, apt will prompt you to.
Having every thing installed properly, just run:
javaws file.jnlp 1 From what I understand, a JNLP file is essentially an XML file with a link to the JAR file.
If you are unwilling to install other packages and simply want to run the program, just
- open the JNLP file in a text editor and find the link (or
cat app.jnlp | grep href), - download the .jar file associated with the homepage and the link (using
wgetfor example), - then
java -jar app.jar.
See for more information.