Apple Intelligence is now available on iPhone, iPad, and Mac!

📢 Newsroom Update

Apple unveils the new iMac with M4, supercharged by Apple Intelligence and available in fresh colors. Learn more >

📢 Newsroom Update

Apple’s all-new Mac mini is more mighty, more mini, and built for Apple Intelligence. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I remove Java from my MAC given the facts below?

I need to remove Java from my Mac. I unsuccessfully tried to do so using Terminal and the following code:

sudo rm -rf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"

sudo rm -rf "/Library/PreferencePanes/JavaControlPanel.prefPane"

sudo rm -rf "~/Library/Application Support/Java"


My Internet Plug-ins file has no Java folders or files. My PreferencePanes folder has no Java folders. My system has none of the three named Java files.


Any help would be greatly appreciated.



Posted on Mar 29, 2021 11:56 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 29, 2021 1:54 PM

Are you sure you have Java?

https://java.com/en/download/help/java_mac.html#havejava

1 reply

How do I remove Java from my MAC given the facts below?

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