Hide Forgot
Description of problem: s-s-java can not recognize beta packages of ibm and oracle java 7 How reproducible: always Steps to Reproduce: 1. install ibm and (or) sun jdk 7, you can also install other jdks (ibm 4-6, oracle 6, openjdk 6,7, gcj 5....) 2. run alternatives --config java command 3. you will see eg: Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java 3 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 4 /usr/lib/jvm/java-1.7.0-sun-1.7.0.0.x86_64/jre/bin/java Actual results: run system-switch-java, you will see eg: jre-1.5.0-gcj jre-1.6.0-openjdk.x86_64 jre-1.7.0-openjdk.x86_64 Expected results: jre-1.5.0-gcj jre-1.6.0-openjdk.x86_64 jre-1.7.0-openjdk.x86_64 java-1.7.0-sun-1.7.0.0.x86_64 Additional info: This is caused by situatuion that proprietary jdks are linking their jre directly from alternatives instead of jre link.
Created attachment 518506 [details] proposed patch This is proposed patch. It also fix 725718, Sorry for not delivering them separately, but they are quite bound together.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1744.html
java-1.7.0-sun was renamed to java-1.7.0-oracle. I'm afraid it will need changes also in s-s-java