Check for java-6-openjdk-i386 in init.d
There is check for /usr/lib/jvm/java-6-openjdk-amd64, but no for 32-bit systems (/usr/lib/jvm/java-6-openjdk-i386).
This commit is contained in:
parent
4ea4de6f8d
commit
da3d682f0e
|
@ -46,7 +46,7 @@ ES_USER=elasticsearch
|
||||||
ES_GROUP=elasticsearch
|
ES_GROUP=elasticsearch
|
||||||
|
|
||||||
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not defined in $DEFAULT)
|
# 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-7-openjdk /usr/lib/jvm/java-7-openjdk-amd64/ /usr/lib/jvm/java-7-openjdk-i386/ /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-openjdk-amd64"
|
JDK_DIRS="/usr/lib/jvm/java-7-oracle /usr/lib/jvm/java-7-openjdk /usr/lib/jvm/java-7-openjdk-amd64/ /usr/lib/jvm/java-7-openjdk-i386/ /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-openjdk-amd64 /usr/lib/jvm/java-6-openjdk-i386"
|
||||||
|
|
||||||
# Look for the right JVM to use
|
# Look for the right JVM to use
|
||||||
for jdir in $JDK_DIRS; do
|
for jdir in $JDK_DIRS; do
|
||||||
|
|
Loading…
Reference in New Issue