M HYPE SPLASH
// news

How can I start/run .jnlp on linux?

By Sarah Scott

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

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:

javaws

At 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-netx

Some 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 wget for example),
  • then java -jar app.jar.

See for more information.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy