1 Reply Latest reply: Apr 15, 2012 6:00 PM by John Galt
gspope71 Level 1 Level 1 (0 points)

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)
  • John Galt Level 8 Level 8 (42,230 points)

    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.