Java WebStart in Firefox on Ubuntu Linux

I couldn’t figure out how to run Java Web Start applications in Mozilla Firefox. There was nothing associated with the .jnlp files.

Prerequisite: Java 1.4 or greater must be installed.

  1. Download a Java Web Start application. I recommend going to the Java Web Start demos page. Click on one of the apps and save it to disk.
  2. Right-click on the .jnlp file that you downloaded, and select “Open with Other Application…”
  3. Select “Use a custom command”, and click “Browse…”.
  4. Locate your java installation folder and select the file $JAVA_HOME/jre/javaws/javaws. On my system, that works out to /usr/lib/j2sdk1.5-sun/jre/javaws/javaws, or /usr/lib/java/jre/javaws/javaws.
  5. Click OK.
  6. Restart Firefox.
The Java Web Start MIME type is not properly associated with the javaws binary. You have to explicitly set the association, then restart Firefox for it to get the update.

Responses: 3 so far Feed icon

  1. Richard Forster says:

    Thanks for this!

    Hadn't realised Firefox was using the mime types like this - a whole new world opens up!

  2. Jan Nienaber says:

    Very helpful, fixed my Java WS prolems - thanks!

  3. ngeno says:

    WOW I WORKED thanx alot at last can open a very essental package for my job!!!!!

Commenting is not yet reimplemented after the Wordpress migration, sorry! For now, you can email me and I can manually add comments.