[Bug 969520] Re: IcedTea Java Web Start fails to open .jnlp file

Herbert Thielen ubuntu-launchpad at thielen-home.de
Thu Feb 6 09:53:54 UTC 2014


On ubuntu 12.04.4 (precise), I was able to run a *.jnlp from Firefox
(26.0+build2-0ubuntu0.12.04.2) only after manually configuring update-
alternatives to use javaws from openjdk-7:

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.4 LTS
Release:	12.04
Codename:	precise

# update-alternatives --config javaws
There are 2 choices for the alternative javaws (providing /usr/bin/javaws).

  Selection    Path                                              Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws   1061      manual mode
* 2            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws   1060      manual mode

Press enter to keep the current choice[*], or type selection number: 2

# dpkg -S /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws
icedtea-netx: /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws
icedtea-netx: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws

# apt-cache policy icedtea-netx
icedtea-netx:
  Installed: 1.2.3-0ubuntu0.12.04.3
  Candidate: 1.2.3-0ubuntu0.12.04.3
  Version table:
 *** 1.2.3-0ubuntu0.12.04.3 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.2-2ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Now it's working fine for me :-)

Best regards,
Herbert.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to icedtea-web in Ubuntu.
https://bugs.launchpad.net/bugs/969520

Title:
  IcedTea Java Web Start fails to open .jnlp file

Status in “icedtea-web” package in Ubuntu:
  Confirmed

Bug description:
  Attempt to open a downloaded .jnlp file by right click and selecting 'IcedTea Java Web Start' fails.
  There is no result or feedback what's wrong.
  .xsession-errors reveals that /usr/bin/javaws wrongly points to java-6-openjdk although it isn't installed and hence no alternative.
  Workaround: adjust lines 3 and 9 to java-7*.

  Example files.
  http://volumeviewer.kenai.com/index.html
  ## another example would be 'sweethome3d' in bug 224800

  ## On attempt to run the .jnlp file firefox is preselected, downloads the file and opens an empty tab.
  Edit: Failed mimetype was addressed and fixed in bug 949823.

  Related packages installed.
  ii  icedtea-7-jre-cacao                    7~u3-2.1-1ubuntu3
  ii  icedtea-7-jre-jamvm                    7~u3-2.1-1ubuntu3
  ii  icedtea-7-plugin                       1.2-1ubuntu1
  ii  icedtea-netx                           1.2-1ubuntu1
  ii  icedtea-netx-common                    1.2-1ubuntu1
  ii  openjdk-7-jre                          7~u3-2.1-1ubuntu3
  ii  openjdk-7-jre-headless                 7~u3-2.1-1ubuntu3
  ii  openjdk-7-jre-lib                      7~u3-2.1-1ubuntu3

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: icedtea-netx 1.2-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  ApportVersion: 1.95-0ubuntu1
  Architecture: amd64
  Date: Fri Mar 30 20:25:21 2012
  Dependencies: icedtea-netx-common 1.2-1ubuntu1
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120204)
  ProcEnviron:
   TERM=xterm
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: icedtea-web
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/969520/+subscriptions



More information about the foundations-bugs mailing list