Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8202138

update-alternatives attributes javaws as a slave to 2 master

XMLWordPrintable

    • x86_64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      reproduced on opensuse leap 42.3 and oS tumbleweed 20180410

      A DESCRIPTION OF THE PROBLEM :
          alt_install_java() {}
      and alt_install_javac attempts to mark javaws as a slave in /etc/alterantives but it is already a slave of javaplugins causing the installation to fail on opensuse leap 42.3 and tumbleweed.
      the same issue was mentioned in 216 https://en.opensuse.org/SDB_Talk:Installing_Java

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1)system with openjdk and alternatives already installed.
      2)download the oracle JDK 64 bit binary package
      execute zypper install or rpm -ivh on the package
      the post installation scrip will fail on these two errors, java and java compilers are not set.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the alternatives would be set



            asemenyuk Alexey Semenyuk
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: