Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 8054759

Browse files
committed
export JAVA_HOME fixes #4
1 parent af79835 commit 8054759

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

files/java.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55

66
export DYLD_FALLBACK_LIBRARY_PATH="$BOXEN_HOME/homebrew/lib:$DYLD_FALLBACK_LIBRARY_PATH"
77

8+
if [ -x /usr/libexec/java_home ]; then
9+
export JAVA_HOME=`/usr/libexec/java_home`
10+
fi
11+
812
exec /usr/bin/java "$@"

0 commit comments

Comments
 (0)