How do I tell if Java is installed on my Mac?

Read about recent security update but not sure if I need it. How do I tell if Java is installed on my Mac?


Thanks

Greg

MacBook Pro (15-inch Early 2011), Mac OS X (10.7.3)

Posted on Apr 15, 2012 5:56 PM

Reply
1 reply

Apr 15, 2012 6:00 PM in response to gspope71

Copy (triple-click to select the entire line) and Paste the following in Terminal


sudo /usr/libexec/java_home


Type your password at the prompt. It will not be echoed.


If you do not have Java installed you will get the following output


Unable to find any JVMs matching version "(null)".

No Java runtime present, try --request to install.

Johns-iMac:SystemConfiguration john$


Or... just download whatever appears in Software Update. A recent Java malware remover was added on April 12. It will appear in SU whether you installed Java or not.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I tell if Java is installed on my Mac?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.