Is /usr/libexec/java\_home working on Big Sur for anyone?
It won't output anything unless the JAVA\_HOME environment variable is already set. When querying for the home folder for a specific version of the JDK, it always just returns the current value of the JAVA\_HOME environment variable. Since the only useful purpose of the java\_home tool is to get a value for setting JAVA\_HOME, this is somewhat backwards and useless.
I reported this against Big Sur betas but that didn't get anywhere. In one case I was actually told it was working as designed, which is clearly not the case.
Selecting any option will automatically load the page