Created
October 10, 2012 21:42
-
-
Save electrum/3868639 to your computer and use it in GitHub Desktop.
Run command under Java 6 on Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
export JAVA_HOME=$(/usr/libexec/java_home -v 1.6) | |
export PATH=$JAVA_HOME/bin:$PATH | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment