Results 1 to 3 of 3

Thread: Java OpenJDK update breaks alternatives

  1. #1

    Default Java OpenJDK update breaks alternatives

    Hello,

    I am having a problem with the latest OpenJDK update
    java-1_6_0-openjdk-1.6.0.0_b20.1.9.1-0.2.2.src.rpm

    Before the OpenJDK update alternatives for java was set to `manual' and was pointing to SUN java. After the update update-alternatives returns with the following error.

    # update-alternatives --display java
    update-alternatives: internal error: /var/lib/rpm/alternatives/java corrupt: priority /usr/lib64/jvm/jre-1.6.0-sun /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz

    Will try to fix the database at /var/lib/rpm/alternatives by hand, yet will appreciate any help.

    Thank you,
    Dima

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,760

    Default Re: Java OpenJDK update breaks alternatives

    If you are using Sun Java you do not need OpenJDK at all.

  3. #3

    Default Re: Java OpenJDK update breaks alternatives

    Quote Originally Posted by gogalthorp View Post
    If you are using Sun Java you do not need OpenJDK at all.
    Except that many bugs get fixed in OpenJdk without the fix being backported to Sun Java.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •