Just to say that on my new Mac M1, having only installed Android Studio as the only software using Java, I do not havegarmeister wrote: ↑Sun May 16, 2021 6:46 pmBernard,
I wanted to give you a big THANKS as well (at least for Win 10). Mac OS has been very troublesome with the hidden folder that Android SDK is installed in (able to workaround), the fact that there are TWO JavaVirtualMachines folders in the Mac OS (see attached pic from Eclipse IDE).
Java SE 8, recommended by LiveCode, installs into the latter directory with no option to select the directory. LiveCode seems to direct itself, as you mentioned, to the OpenJDK which is located in the former directory and LiveCode will not accept the default Java 8 SDK directory probably due to Android Studio defaulting to the OpenJDK version. So it seems Android development on the Mac is dead in the water, at least for now.
in my the /Users folder hierarchy.
But there is
...but both of them are empty! So (at least in my case) these Java-related detritus in /Library are just noise.
However, there are also java, javac, etc. in /usr/bin/ (these are the same version as found in Android Studio, so I'm guessing they were installed by Android Studio).
It now works on M1 Mac/Big Sur. See last section of my post at the beginning of this thread.