Thursday, June 19, 2014
Mac OSX Tips
Setting JAVA_HOME
OSX: 10.9.3
Open a Terminal
Type: nano .bash_profile
Add: export JAVA_HOME=$(/usr/libexec/java_home)
Exit nano: ctrl+o and hit return
Type: source .bash_profile
Type: echo $JAVA_HOME
You should see something like: Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment