Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install OpenJDK 11.

    Code Block
    sudo apt install openjdk-11-jre-headless
  2. Update JAVA_HOME in /opt/harmony-smp/bin/setenv.sh to point to OpenJDK 11.

    Code Block
    #!/bin/sh
    export JAVA_OPTS= ...
    export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
  3. Restart the SMP.

    Code Block
    sudo systemctl restart harmony-smp
  4. Test to see that everything works.

    1. In case of any problems, revert step 2 and restart the SMP.

  5. Remove OpenJDK 8.

    Code Block
    sudo apt remove openjdk-8-jre-headless

...