Java developer kit error message

Hey,


My iMac has the latest MacOS Catalina 10.15.3 operating system running.


After the latest operating system update, I keep getting the message "JDK needs to be installed in order to use the java command line tool. Click the More Info ..." site to visit the Java Developer Kit download site. I have not done that, because I do not need or want to use Java in my Mac.


Sometimes long ago I installed in my machine Java, but removed it from the Safari Plug-ins and tried to remove Java from my iMac by running Oracle's "uninstall Java" program.


How can I get rid of Java and this JDK from my machine forever.


Thank you.


Kari Vainio

Posted on Apr 12, 2020 7:18 AM

Reply

Similar questions

3 replies

Apr 12, 2020 7:36 AM in response to mackva

mackva wrote:

Hey,

My iMac has the latest MacOS Catalina 10.15.3 operating system running.

After the latest operating system update, I keep getting the message "JDK needs to be installed in order to use the java command line tool. Click the More Info ..." site to visit the Java Developer Kit download site. I have not done that, because I do not need or want to use Java in my Mac.

Sometimes long ago I installed in my machine Java, but removed it from the Safari Plug-ins and tried to remove Java from my iMac by running Oracle's "uninstall Java" program.

How can I get rid of Java and this JDK from my machine forever.



Fromm the Terminal.app you can copy and paste:


sudo softwareupdate --ignore JavaForOSX


(note: your psswd will not echo, type it in anyway, to proceed use the enter/return key)


If you are unsure of the exact name you can glean it from , copy and paste:

softwareupdate --list



quit terminal you are done here.

Apr 12, 2020 8:16 AM in response to mackva

mackva wrote:

Thank you for your quick reply and instructions. I did as you instructed above and commands were performed without error messages, so I assume they worked. I restarted the machine and I still get the same JDK error message. I assume your instructions removed JavaForOSX updates to be done in the future, but there is still something left from Java in my system, because I still get this error message.

What should I try next?



from your Finder >Go>Go To Folder copy and paste:

 ~/Library/Preferences/com.apple.preferences.softwareupdate.plist 


delete this plist and reboot


Apr 12, 2020 8:11 AM in response to leroydouglas

Thank you for your quick reply and instructions. I did as you instructed above and commands were performed without error messages, so I assume they worked. I restarted the machine and I still get the same JDK error message. I assume your instructions removed JavaForOSX updates to be done in the future, but there is still something left from Java in my system, because I still get this error message.


What should I try next?

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.

Java developer kit error message

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