Bugzilla – Bug 571455
JRE_HOME environment variable set to a wrong value in /etc/profile.d/alljava.sh
Last modified: 2010-02-14 22:59:38 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.64 Safari/532.5 With installed Java the environment variables JAVA_HOME, JDK_HOME are set correctly, however the JRE_HOME variable is set to a wrong value. > echo $JAVA_HOME /usr/lib/jvm/java > echo $JDK_HOME /usr/lib/jvm/java > echo $JRE_HOME /usr//jvm/jre Reproducible: Always Steps to Reproduce: 1.Install any version of java 2.Log into a valid user account 3.echo $JRE_HOME Actual Results: /usr//jvm/jre Expected Results: /usr/lib/jvm/jre
This can easily be fixed by changing line 21 of /etc/profile.d/alljava.sh of the aaa_base package from export JRE_HOME=/usr/$_libdir/jvm/jre to export JRE_HOME=/usr/$__libdir/jvm/jre
ah, okay. fixed already. marking as duplicate of bnc#549395 *** This bug has been marked as a duplicate of bug 549395 ***