Lines Matching refs:JAVA_HOME

2955    JAVA_HOME=; export JAVA_HOME
3004 # JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
3033 # JAVA_HOME=$with_jdk_home
3053 JAVA_HOME=$with_jdk_home
3067 JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
3069 JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[[eE]][[xX]][[eE]]$,,"`
3072 JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[[eE]][[xX]][[eE]]$,,"`
3080 JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
3182 dnl first check if we have been asked to autodetect JAVA_HOME with a recent gij
3183 if test "$JDK" = "gcj" -a -z "$JAVA_HOME"; then
3210 JAVA_HOME=`$JAVAINTERPRETER findhome`
3211 if test $? = 0 && test "$JAVA_HOME" != "" ; then
3212 AC_MSG_RESULT([$JAVA_HOME])
3219 JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$WITH_JAVA,,p"`
3223 dnl second sanity check JAVA_HOME if possible
3225 # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
3226 if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then
3232 # just need to strip a bit away to get a valid JAVA_HOME
3234 JAVA_HOME="$javac_link_f"
3238 JAVA_HOME=`readlink $JAVACOMPILER`
3241 AC_MSG_WARN([JAVA_HOME is set to /usr - this is very likely to be incorrect])
3242 … AC_MSG_WARN([if this is the case, please inform the correct JAVA_HOME with --with-jdk-home])
3243 echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
3244 … echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
3246 dnl now that we have the path to the real javac, make a JAVA_HOME out of it..
3247 if test "$JAVA_HOME" != "/usr"; then
3250 JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/Current/Commands/javac$,/CurrentJDK/Home,)
3252JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/CurrentJDK/Commands/javac$,/CurrentJDK/Home,)
3254 JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/bin/javac$,,)
3258 # now check if $JAVA_HOME is really valid
3260 if test ! -f "$JAVA_HOME/lib/jvm.cfg" -a "x$with_jdk_home" = "x"; then
3263 elif test ! -d "$JAVA_HOME/jre" -a "x$with_jdk_home" = "x"; then
3267 … AC_MSG_WARN([JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script])
3268 AC_MSG_WARN([attempted to find JAVA_HOME automatically, but apparently it failed])
3269 … AC_MSG_WARN([in case JAVA_HOME is incorrectly set, some projects with not be built correctly])
3270 … echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
3271 echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
3272 … echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
3286 CFLAGS="$CFLAGS -I$JAVA_HOME/include"
3287 LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
3302 CFLAGS="$CFLAGS -I$JAVA_HOME/include"
3303 LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin"
3304 …LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:$JAVA_HOME/jre/bin/xawt:$LD_LIBRARY_…
3311 LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
3312 AC_CHECK_LIB(mawt, JAWT_GetAWT, [ AWTLIB="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"])
3357 AC_SUBST(JAVA_HOME) subst
3669 CXXFLAGS="$CXXFLAGS -I$JAVA_HOME/include"
3670 CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include"
7018 oldJAVA_HOME=$JAVA_HOME
7020 JAVA_HOME=; export JAVA_HOME
7044 JAVA_HOME=$oldJAVA_HOME
7135 JAVA_HOME=; export JAVA_HOME
7173 "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" 2>&5 | \