Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3500

broken alternatives link for javac

    • None
    • None
    • rhel-sst-java
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • ---
    • None

      Description of problem:
      When I install the java-1.8.0-devel package, the /usr/bin/javac link is broken

      Version-Release number of selected component (if applicable):
      1:1.8.0.352.b08-2.el7_9

      How reproducible:
      always

      Steps to Reproduce:
      1. remove all java packages
      2. install java-1.8.0-openjdk
      3. install java-1.8.0-openjdk-devel

      Actual results:
      Running transaction
      Installing : 1:java-1.8.0-openjdk-devel-1.8.0.352.b08-2.el7_9.x86_64 1/1
      failed to read link /usr/bin/javac: No such file or directory
      Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.352.b08-2.el7_9.x86_64 1/1

      Installed:
      java-1.8.0-openjdk-devel.x86_64 1:1.8.0.352.b08-2.el7_9

      Complete!

      lrwxrwxrwx 1 root root 22 5. Nov 12:42 /usr/bin/java -> /etc/alternatives/java
      lrwxrwxrwx 1 root root 23 5. Nov 12:44 /usr/bin/javac -> /etc/alternatives/javac
      lrwxrwxrwx 1 root root 73 5. Nov 12:42 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.x86_64/jre/bin/java
      lrwxrwxrwx 1 root root 70 5. Nov 12:44 /etc/alternatives/javac -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/bin/javac

      /usr/bin/java is fine, /usr/bin/javac is broken

      Expected results:
      both links should be fine

      Additional info:

              rhn-engineering-ahughes Andrew Hughes
              jira-bugzilla-migration RH Bugzilla Integration
              Andrew Hughes Andrew Hughes
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: