Lines Matching refs:JAVA_HOME
87 if [ -z "$JAVA_HOME" ] ; then
88 JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
121 [ -n "$JAVA_HOME" ] &&
122 JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
127 [ -n "$JAVA_HOME" ] &&
128 JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
135 if [ -n "$JAVA_HOME" ] ; then
137 if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
138 JAVACMD="$JAVA_HOME/jre/sh/java"
139 elif [ -x "$JAVA_HOME/jre/bin/java" ] ; then
140 JAVACMD="$JAVA_HOME/jre/bin/java"
142 JAVACMD="$JAVA_HOME/bin/java"
153 echo "Error: JAVA_HOME is not defined correctly."
197 # Explicitly add javac path to classpath, assume JAVA_HOME set
199 if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
200 LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
202 if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
203 LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
234 if [ -n "$JAVA_HOME" ] ; then
237 OSXHACK="${JAVA_HOME}/../Classes"
265 [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --$format "$JAVA_HOME"`