Applies to Harmony SMP starting from version 2.0.0. Before completing the steps described in this article, upgrade the Harmony Access Point to version 2.0.0 or later.
Starting from version 2.0.0, the Harmony SMP uses OpenJDK 11 for new installations by default (OpenJDK 8 is still supported). Versions prior to version 2.0.0 support only OpenJDK 8.
When upgrading to version 2.0.0 from an older version (1.4.0), the Java runtime version isn't updated automatically during the version upgrade. Instead, a manual migration is required. First, upgrade the Harmony SMP to version 2.0.0 or later and then complete the following steps described in this article.
\uD83D\uDCD8 Instructions
Please follow the steps below to complete the migration.
Install OpenJDK 11.
sudo apt install openjdk-11-jre-headless
Update JAVA_HOME in
/opt/harmony-smp/bin/setenv.sh
to point to OpenJDK 11#!/bin/sh export JAVA_OPTS= ... export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
Restart the SMP.
sudo systemctl restart harmony-smp
Test to see that everything works
(in case any of problems, revert step 3).
Remove OpenJDK 8.
sudo apt remove openjdk-8-jre-headless