HBASE-3882 hbase-config.sh needs to be updated so it can auto-detects the sun jre provided by RHEL6

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1103239 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-05-14 21:51:29 +00:00
parent ea24189ed6
commit 551ea3211f
2 changed files with 5 additions and 0 deletions

View File

@ -260,6 +260,10 @@ Release 0.90.4 - Unreleased
HBASE-3878 Hbase client throws NoSuchElementException (Ted Yu)
HBASE-3881 Add disable balancer in graceful_stop.sh script
IMPROVEMENT
HBASE-3882 hbase-config.sh needs to be updated so it can auto-detects the
sun jre provided by RHEL6 (Roman Shaposhnik)
Release 0.90.3 - Unreleased
BUG FIXES

View File

@ -84,6 +84,7 @@ fi
if [ -z "$JAVA_HOME" ]; then
for candidate in \
/usr/lib/jvm/java-6-sun \
/usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre \
/usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
/usr/lib/j2sdk1.6-sun \
/usr/java/jdk1.6* \