[Bug 1078424] Re: itweb-settings in icedtea-netx actually depends on openjdk-6

Matthias Klose doko at ubuntu.com
Fri Feb 8 01:20:09 UTC 2013


** Also affects: icedtea-web (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: icedtea-web (Ubuntu Precise)
       Status: New => In Progress

-- 
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/1078424

Title:
  itweb-settings in icedtea-netx actually depends on openjdk-6

Status in “icedtea-web” package in Ubuntu:
  New
Status in “icedtea-web” source package in Precise:
  In Progress

Bug description:
  Package: icedtea-netx
  …
  Version: 1.2-2ubuntu1.3
  …
  Depends: … openjdk-6-jre (>= 6b23~pre10~) | openjdk-7-jre …

  so it is either openjdk-6 or -7, but /usr/bin/itweb-settings looks like:
  ========================================
  #!/bin/sh
  JAVA=/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
  …
  ========================================

  Replacing this with
  ========================================
  #!/bin/sh
  for V in 6 7; do
    J=/usr/lib/jvm/java-$V-openjdk-amd64/jre/bin/java
    if test -x $J; then
      JAVA=$J
      break
    fi
  done
  test -n "$JAVA" || exit 1
  …
  ========================================
  makes the control panel compatible with both major openjdk versions, as specified in Depends.

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




More information about the foundations-bugs mailing list