From 175545f3df888d955b13cca7e6a1eb1bfcebf932 Mon Sep 17 00:00:00 2001 From: Radu Gheorghe Date: Wed, 9 May 2012 15:35:10 +0300 Subject: [PATCH] Added JAVA_HOME paths (6 and 7) for Ubuntu 12.04 x86_64 --- src/deb/init.d/elasticsearch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deb/init.d/elasticsearch b/src/deb/init.d/elasticsearch index c4ea2177b93..8d13d7d0736 100644 --- a/src/deb/init.d/elasticsearch +++ b/src/deb/init.d/elasticsearch @@ -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