← Back to team overview

openjdk team mailing list archive

Bug#663895: icedtea-netx: hard-codes path to openjdk 6 java interpreter

 

Package: icedtea-netx
Version: 1.2-1
Severity: serious
Justification: incomplete dependencies

Hi,

Trying to use javaws:

  /usr/bin/javaws: line 66: /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java: No such file or directory

Following the symlink:

  $ readlink /etc/alternatives/javaws
  /usr/lib/jvm/java-7-openjdk-i386/jre/bin/javaws
  $ dpkg-query -S /usr/lib/jvm/java-7-openjdk-i386/jre/bin/javaws
  icedtea-netx:i386: /usr/lib/jvm/java-7-openjdk-i386/jre/bin/javaws

And indeed, looking at the source of the javaws script, I see

  JAVA=/usr/lib/jvm/java-6-openjdk-i386/jre/bin/java

Why is javaws in the java-7 directory using the java interpreter from
java-6?

The dependencies say

  Depends: icedtea-netx-common (>= 1.2-1), openjdk-6-jre (>= 6b23~pre10~) | openjdk-7-jre

Installing openjdk-6-jre gets past this.

Known problem?
Jonathan