Apple Event: May 7th at 7 am PT

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 Best 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 ID.