Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Mac OS X 10.8 does not include java_home(1).

What are we supposed to use to set JAVA_HOME?

Jeff

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

/usr/libexec/java_home is what the variable should be

share|improve this answer
    
Thanks Luke. For whatever reason, the Apple docs stop at 10.7.4 and java_home died at the command line. /usr/libexec/java_home worked as desired, though. –  noloader Jan 11 '13 at 22:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.