https://oneminutemacman.com/how-to-make-the-annoying-to-use-the-java-command-line-tool-you-need-to-install-a-jdk-pop-up-go-away-forever/
How to make the Mac's annoying "To use the java command-line tool you need to install a JDK" pop-up go away forever