Java Command-Line tool error with Catalina

Over the past few versions of Mac OS you could fix this error by installing the Java Legacy app, however with Catalina this does not work. Now you get a message that a newer version exists and this version can't be installed.


The result is the annoying POP up keeps reappearing.


Does any know how to get rid of this in Mac OS 10.15?

Posted on Oct 10, 2019 5:11 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 21, 2019 7:21 AM

I had the same popup reappear after installing Catalina. The fix, for me was rather simple, and quite stupid. After downloading the Java pkg I clicked on the installer and got the same security alert that others did. I then went to the window and right clicked on the pkg and selected Open. This allowed the pkg to install normally.

Similar questions

18 replies
Question marked as Top-ranking reply

Oct 21, 2019 7:21 AM in response to rbenza

I had the same popup reappear after installing Catalina. The fix, for me was rather simple, and quite stupid. After downloading the Java pkg I clicked on the installer and got the same security alert that others did. I then went to the window and right clicked on the pkg and selected Open. This allowed the pkg to install normally.

Oct 10, 2019 10:08 PM in response to Barney-15E

Thank you Barney-15E,


Although I had no idea what app would be using the command line tool, your suggestion lead to more searching.


I stumbled upon this link https://superuser.com/questions/1048562/which-application-is-triggering-a-to-use-the-java-command-line-tool-you-need and luckily for me the example given here was exactly the same as my machine.


After applying this, so far I have not had any further Pop Ups of the Java error message.

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 Command-Line tool error with Catalina

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