JAVA_HOME fix
Putting the right JAVA_HOME correct atribution - Mac OS support
This commit is contained in:
parent
727c91e141
commit
6f3b5bdeb6
|
@ -58,7 +58,7 @@ case "`uname`" in
|
|||
;;
|
||||
Darwin*) darwin=true
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
|
||||
JAVA_HOME=$(/usr/libexec/java_home)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue