Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am using OSX Mountain Lion, and I am trying to install Glassfish Server EE. I have also installed Java7 from oracle. When I check for my java_home by this line


I get this result:


When I start to install GFish Server I says:

Using the user defined JAVA_HOME : /usr Entering setup...

Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...

Can someone please help me with this?

share|improve this question
It says it is continuing does it install? If so what is the issue? Do have a JAVA_HOME environment variable? – Mark Mar 28 '13 at 14:09
yeah,it installs after i repeat the installation 4 to 5 times.But wouldnt that be a problem? – Arvind Ab Mar 28 '13 at 14:14
Another thing is i havent installed Apple's JAVA6 yet, doesnt this mean there is no other java version on the system? – Arvind Ab Mar 28 '13 at 14:15
@Mark and i checked in the /usr/libexec and there is a java_home there if im not wrong. here is a part of that list i got: ioupsd vndevice java_home vpnagent kcproxy warmd – Arvind Ab Mar 28 '13 at 14:18
What java have you installed? – Mark Mar 28 '13 at 14:21

Your Answer


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

Browse other questions tagged or ask your own question.