$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

OpenJDK 21 Installation in KDE Neon – Step-by-step

October 24, 2023 | By the+gnu+linux+evangelist.

How to Install

  1. 2. Enabling OpenJDK 21 PPA

    Add OpenJDK 21 PPA for KDE Neon GNU/Linux

    Enabling OpenJDK 21 Repo for KDE Neon
  2. 3. Installing OpenJDK 21

    Then to Install OpenJDK 21 in Mint
    First, to look up all the available flavors play:

    apt search openjdk-21

    So next for OpenJDK JDK 21 issue:

    sudo apt install openjdk-21-jdk

    Where for the Java Runtime instead:

    sudo apt install openjdk-21-jre

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    Now to Check the current Java:

    java -version

    And in output you find it:

    Java Version

    Finally, to check for available Java releases:

    apt search openjdk | grep jdk
  3. 4. Managing Java Versions

    So now to Manage Multiple Java on System
    Use the update-alternatives as:

    sudo update-alternatives --config java

    If more than one then choose the wanted Release from list:

    Update Alternatives

    And in case of a JDK Setup you may also switch the Java Compiler with:

    sudo update-alternatives --config javac

Contents