https://bugzilla.novell.com/show_bug.cgi?id=722252 https://bugzilla.novell.com/show_bug.cgi?id=722252#c24 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|nettezzaumanaa@gmail.com | --- Comment #24 from Daniel Pecka <nettezzaumanaa@gmail.com> 2012-02-28 12:12:08 UTC --- Created an attachment (id=478321) --> (http://bugzilla.novell.com/attachment.cgi?id=478321) alljava.sh upped hello Michal, problem is, that oracle java se jdk|jre leaves a etc/alternatives untouched .. i have very carefully investigated a rpm post/pre install scripts from oracle packages so if we want to make alljava.sh a aracle java se aware, we just have to hardcode those paths no matter that there could be whatever an admin places there under the name /usr/java .. these are how it works for all three cases:
env | egrep JAVA\|_HOME JRE_HOME=/usr/java/jdk1.7.0_03/jre JAVA_BINDIR=/usr/java/jdk1.7.0_03/bin JAVA_HOME=/usr/java/jdk1.7.0_03 SDK_HOME=/usr/java/jdk1.7.0_03 JDK_HOME=/usr/java/jdk1.7.0_03 JAVA_ROOT=/usr/java/jdk1.7.0_03
env | egrep JAVA\|_HOME JRE_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre JAVA_BINDIR=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/bin JAVA_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0 SDK_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0 JDK_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0 JAVA_ROOT=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0
env | egrep JAVA\|_HOME JRE_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre JAVA_BINDIR=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/bin JAVA_HOME=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre JAVA_ROOT=/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre
regards, d -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.