Zulu Ubuntu 18.04 Installation

I’m trying to install Zulu java platform on Ubuntu 18.04 since it is recommended by documentation. So I downloaded, unziped and changed path variable, but it looks like it is not recognized. When i go for
$ sudo update-alternatives --config java
it lists only openjdk 8 and 11 versions, and there is no Zulu.
Any help would be appreciated.

Did you install OH manually or via apt-get?

I did not install openhab yet. I have downloaded tar.gz Zulu installation file if you meant on this.

What’s the output of sudo update-java-alternatives --list

java-1.11.0-openjdk-amd64 1101 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64

Zulu is not listed so I recommend trying to reinstall it, or make sure the path is correct, as the command used should show all versions of java.

Also see this link for help with installing Zulu.


Just for Ubuntu with video.

And how to set the default java version.

Well, it turns out that Installation Using an APT Repository passed easily.
java -version
openjdk version “1.8.0_202”
OpenJDK Runtime Environment (Zulu (build 1.8.0_202-b05)
OpenJDK 64-Bit Server VM (Zulu (build 25.202-b05, mixed mode)