Note that Big Sur breaks the previous behaviour of the JAVA_HOME environment variable to pick the Java version used to run the command-line tools. If this matters to you, consider filing an bug report.
Topic:
App & System Services
SubTopic:
Core OS
Tags: