← Back to team overview

openjdk team mailing list archive

[Bug 224800] Re: OpenJDK java web start fails to open jnlp files version 1.5

 

** Changed in: openjdk
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
https://bugs.launchpad.net/bugs/224800

Title:
  OpenJDK java web start fails to open jnlp files version 1.5

Status in OpenJDK:
  Fix Released
Status in “openjdk-6” package in Ubuntu:
  Fix Released
Status in “openjdk-6” package in Debian:
  Fix Released
Status in “openjdk-6” package in Fedora:
  New

Bug description:
  When OpenJDK java web start is used, it can not open some jnlp files.
  For example, you can try the following ones :
  http://www.spark-angels.com/telecharger-1/
  http://sweethome3d.sourceforge.net/SweetHome3D.jnlp

  If you open them through firefox, it downloads the necessary jars, but does not open the application.
  If you download the jnlp files and launch them whith javaws, you get the following error :
  netx: Spec version not supported (supports 1.0)

  These application work if you launch them with Sun Java 6 Web start.

  Netx seems to be the library used by openjdk to handle jnlp files. I
  checked the source code and it only supports 1.0 version of jnlp (see
  file Parser.java in package netx.jnlp). The examples above use version
  1.5 of jnlp.

  What is annoying is that the upgrade from gutsy to hardy makes openjdk the default java alternative, even if Sun java 6 was installed.
  Thus, the jnlp files that were working under gusty do not work anymore under hardy.

  The workaround I currently use is to choose another location when
  firefox prompts me which application to use for jnlp files : I specify
  /usr/lib/jvm/java-6-sun/bin/javaws instead of "OpenJDK Java Web
  Start". So the jnlp files are opened with Sun Java instead of openjdk
  : I still need to keep Sun java.

  The solution would be, I guess, to make netx support 1.5 jnlp files.
  But this project doesn't seem to be updated for years...

  Version of Ubuntu : hardy
  Version of openjdk : 6b09-0ubuntu2
  Version of netx : 0.5





References