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

Commit

Permalink
export JAVA_HOME fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Mar 5, 2013
1 parent af79835 commit 8054759
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@

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

if [ -x /usr/libexec/java_home ]; then
export JAVA_HOME=`/usr/libexec/java_home`
fi

exec /usr/bin/java "$@"

0 comments on commit 8054759

Please sign in to comment.