Installing OpenJDK 11
TomTom Digital Cockpit is written in Kotlin, which is designed to fully interoperate with the Java virtual machine, by compiling to Java bytecode. TomTom Digital Cockpit requires OpenJDK 11 (Open Java Development Kit), which is a free and open-source implementation of the Java Platform. Other OpenJDK versions may work, but have not been tested and will not be supported by TomTom.
To install it, run the following command in a terminal:
sudo apt install openjdk-11-jdk
You might already have other versions of JDK installed. Verify this by running:
sudo update-java-alternatives -l
If you see the following output, then you only have OpenJDK and you are all set:
java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64
If you see multiple Java versions in the output, you need to make sure you have the correct one set as the default:
sudo update-java-alternatives -s java-1.11.0-openjdk-amd64
Then you can verify that the correct Java version is in use by running:
You should see output similar to this:
1openjdk 11.0.11 2021-04-202OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)3OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
brew tap AdoptOpenJDK/openjdkbrew install --cask adoptopenjdk11
Other alternatives of the OpenJDK can also be used, as long as they are Java version 11.
Download the OpenJDK installer from Adoptium Temurin JDK:
Temurin 11 (LTS)as Version.
Latest releaseto start downloading the JDK file with
- Verify that the downloaded
jdkin its name, not
Open the downloaded
.msi file, to install the JDK:
- During installation, when you arrive at
Custom Setupscreen, press the cross next to
Set JAVA_HOMEsettings and select:
Will be installed on local hard drive.
- When finished installing, open the command prompt to make sure you are now using
- You should see output similar to this:
1 openjdk version "11.0.13" 2021-10-192 OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)3 OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode)