Lines Matching refs:JAVA_HOME
61 …if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ;…
65 export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
68 … if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
72 export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
75 if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
79 export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
82 if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then
86 export JAVA_HOME=`/usr/libexec/java_home`
91 if [ -z "$JAVA_HOME" ] ; then
93 JAVA_HOME=`java-config --jre-home`
127 [ -n "$JAVA_HOME" ] &&
128 JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
137 [ -n "$JAVA_HOME" ] &&
138 JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
142 if [ -z "$JAVA_HOME" ]; then
156 JAVA_HOME="$javaHome"
157 export JAVA_HOME
163 if [ -n "$JAVA_HOME" ] ; then
164 if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
166 JAVACMD="$JAVA_HOME/jre/sh/java"
168 JAVACMD="$JAVA_HOME/bin/java"
181 if [ -z "$JAVA_HOME" ] ; then
191 [ -n "$JAVA_HOME" ] &&
192 JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`