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:

image-20220428095627277

Em, excuse me! Have Android 📱 and use Databricks? You might be interested in my totally free (and ad-free) Pocket Bricks . You can get it from Google Play too: Get it on Google Play


To contact me, send an email anytime or leave a comment below.