javadatabricksazure-databricks

How to configure Azure Databricks cluster to use Java 11


I would like to configure Azure Databricks cluster to use Java 11 instead of 8

I added the following property under Advanced Options > Spark > Environment Variables:

JNAME=zulu11-ca-amd64

and restarted the cluster. Unfortunately, I still see that Spark Conf (Cluster --> Spark Cluster UI -> Runtime information) is configured to use java 8

Runtime Information

Java Home: /usr/lib/jvm/zulu8-ca-amd64/jre
Java Version: 1.8.0_362 (Azul Systems, Inc.)

Solution

  • I just tested on the DBR 11.3, 13.0 & 12.2 and everything works just fine. As per doc - add following environment variable:

    JNAME=zulu11-ca-amd64
    

    enter image description here

    and you get a cluster with Java 11:

    enter image description here

    enter image description here