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
Java Home: /usr/lib/jvm/zulu8-ca-amd64/jre
Java Version: 1.8.0_362 (Azul Systems, Inc.)
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
and you get a cluster with Java 11: