开发者

Setting JAVA5_HOME environment variable on Mac OS 10.5.8?

开发者 https://www.devze.com 2022-12-16 08:36 出处:网络
How does one install set the JAVA5_HOME environment variable for Goog开发者_JS百科le Guava libraries on Mac OS 10.5.8?Add the following line to the end of /etc/profile (requires sudo access):

How does one install set the JAVA5_HOME environment variable for Goog开发者_JS百科le Guava libraries on Mac OS 10.5.8?


Add the following line to the end of /etc/profile (requires sudo access):

export JAVA5_HOME=/System/Library/Frameworks/JavaVM.framework/Home

If you have open terminal windows, you'll probably need to close and reopen them for this change to take effect.


It should probably be set to:

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home

You can do this in your shell configuration file using something like:

export JAVA5_HOME='/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home'
0

精彩评论

暂无评论...
验证码 换一张
取 消