Nov 3, 2010

Quick Tip: Set JAVA_HOME on OS X Snow Leopard

I recently started setting up a new OS X development machine after I tried and failed to get the syanptics driver to work on my Dell Vostro V13. (Side note, can you believe they claim this machine is supported by Ubuntu?)

One of the packages that I need to run is hive. Installing it is a breeze thanks to homebrew, but you still need to set your $JAVA_HOME. So how is that done? Easily! From the terminal just enter this command:

export JAVA_HOME=$(/usr/libexec/java_home)

No comments:

Post a Comment