Java path from Mac OS X
Where is my Java SDK from Mac OS X with Oracle's JVM installing.
Easy way to find out it is running the below command from the terminal.
/usr/libexec/java_home
Can be a good idea to add JAVA_HOME to your .bash_profile file. such as
> vim ~/.bash_profile
Add the below line from vim.
export JAVA_HOME=`/usr/libexec/java_home`
Save file. Done.
댓글
댓글 쓰기