Added JAVA_HOME paths (6 and 7) for Ubuntu 12.04 x86_64

This commit is contained in:
Radu Gheorghe 2012-05-09 15:35:10 +03:00 committed by Shay Banon
parent 5a2ee614d1
commit 175545f3df
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ ES_USER=elasticsearch
ES_GROUP=elasticsearch
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not defined in $DEFAULT)
JDK_DIRS="/usr/lib/jvm/java-7-oracle /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-openjdk /usr/lib/jvm/java-6-openjdk"
JDK_DIRS="/usr/lib/jvm/java-7-oracle /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-openjdk /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-7-openjdk-amd64/ /usr/lib/jvm/java-6-openjdk-amd64/"
# Look for the right JVM to use
for jdir in $JDK_DIRS; do