...
Code Block | ||
---|---|---|
| ||
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home |
Depending on your login the used shell.
Code Block | ||
---|---|---|
| ||
export JAVA_HOME="/usr/bin/" |
Code Block | ||
---|---|---|
| ||
declare -x JAVA_HOME="/usr/bin/ " |
Note | ||
---|---|---|
| ||
The JAVA_HOME environment directory may be different on every distribution.