Author: jfrederic.clere(a)jboss.com
Date: 2009-11-23 12:34:54 -0500 (Mon, 23 Nov 2009)
New Revision: 2591
Modified:
trunk/build/unix/build.sh
Log:
Make sure Darwin finds the JVM.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2009-11-23 17:12:44 UTC (rev 2590)
+++ trunk/build/unix/build.sh 2009-11-23 17:34:54 UTC (rev 2591)
@@ -327,6 +327,10 @@
if $has_expat; then
build_expat=true
fi
+ if [ "x${JAVA_HOME}" = "x" ]; then
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/
+ export JAVA_HOME
+ fi
;;
HP-UX*)
BUILD_SYS="hpux"
Show replies by date