How to see if there's Java in my Mac?

Hello!


I saw this article.

https://www.intego.com/mac-security-blog/adwind-rat-malware-everything-you-need- to-know/

User uploaded file


Basically as long as I have no Java, I have nothing to fear? I read that newer Macs lack Java (thank you, Apple!), but is there a way to check if there is no Java at all? It would make me feel easier.

I checked System Preferences and if there is Java around, there should be that steaming tea cup symbol somewhere in lowest level of System Preferences?


I just want to make sure I really don't have that Java garbage.

Posted on Oct 2, 2016 12:42 PM

Reply
3 replies

Oct 2, 2016 1:59 PM in response to WilhelmBrow

Basically as long as I have no Java, I have nothing to fear?


Better stated, it means there is one less thing to worry about. Read Effective defenses against malware and other threats.


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$

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 to see if there's Java in my Mac?

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