JAVA_HOME fix at artemis-cli

After create a broker using main artemis script, this one needs to be created using JAVA_HOME environment correctly as well, otherwise the broker will be unable to find java_home. 
I did perform a search at the whole project and this is the only remaining place which needs to change the JAVA_HOME value at the script.
This commit is contained in:
Glaucio Melo 2015-10-01 10:28:52 -03:00
parent 0fb5183692
commit 800c42bc24
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ case "`uname`" in
;;
Darwin*) darwin=true
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
JAVA_HOME=$(/usr/libexec/java_home)
fi
;;
esac