Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • The GUI way works for me in 10.6 what does your ~/.MacOSX/environment.plist look like and do you reset path in your shell and if do how
    – mmmmmm
    Commented Mar 7, 2011 at 13:42
  • If you're more interested in the GUI way there's a separate site dedicated to Apple questions; do you want this question moved there? Commented Mar 7, 2011 at 15:49
  • Add: export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home in $HOME/.bash_profile Note: please remember to the Quit terminal and Open it again.
    – Jimmy_Rw
    Commented Sep 25, 2019 at 23:08