https://www.cnet.com/how-to/how-to-check-for-and-disable-java-in-os-x/
The OS X Terminal (in the /Applications/Utilities/ folder) provided access to a number of commands that can be used for looking up system information, and by running the following one in the Terminal you should be able to see in the output what Java runtimes (if any) are installed on your computer:
sudo /usr/libexec/java_home
Is it safe to type
sudo /usr/libexec/java_home
into Terminal to see if there is Java? I want to make sure I don´t have it.
The OS X Terminal (in the /Applications/Utilities/ folder) provided access to a number of commands that can be used for looking up system information, and by running the following one in the Terminal you should be able to see in the output what Java runtimes (if any) are installed on your computer:
sudo /usr/libexec/java_home
Is it safe to type
sudo /usr/libexec/java_home
into Terminal to see if there is Java? I want to make sure I don´t have it.