Databricks: Force JRE 11
Unfortunately Databricks still runs Java 8 today (in 2022!) but you can force it to use JRE 11 / JDK 11 with this little trick.
Edit a cluster you want and add environment variable JNAME=zulu11-ca-amd64:

or cluster JSON configuration:
{
"spark_env_vars": {
"JNAME": "zulu11-ca-amd64"
}
}
Proof we now run JRE 11:

