From 1ddb334a5283062bbcb69ac9bef46ce0ab5e344f Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sat, 22 Sep 2012 19:08:52 +0000 Subject: [PATCH] Put the specified JDK path first so we find that one This commit was SVN r27360. --- orte/config/orte_setup_java.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/config/orte_setup_java.m4 b/orte/config/orte_setup_java.m4 index 61584f136d..275baa106d 100644 --- a/orte/config/orte_setup_java.m4 +++ b/orte/config/orte_setup_java.m4 @@ -150,7 +150,7 @@ AC_DEFUN([ORTE_SETUP_JAVA],[ orte_java_happy=no PATH_save=$PATH AS_IF([test -n "$with_jdk_bindir" -a "$with_jdk_bindir" != "yes" -a "$with_jdk_bindir" != "no"], - [PATH="$PATH:$with_jdk_bindir"]) + [PATH="$with_jdk_bindir:$PATH"]) AC_PATH_PROG(JAVAC, javac) AC_PATH_PROG(JAVAH, javah) AC_PATH_PROG(JAR, jar)