The only solution I find to eliminate this java popup is to install Java. I do not need Java and do not want it on my Mac. I do not want the security risk that Java has. I have an iMac Retna 5K OS High Serria version 10.13.5
To use the “java” command-line tool you need to install a JDK.
OS X / macOSOkay. Thanks for the tip.
Original thread: https://forums.imore.com/threads/to-use-the-%E2%80%9Cjava%E2%80%9D-command-line-tool-you-need-to-install-a-jdk.404813/