JDK 11 on the Raspberry Pi

This is a very short post on what I ended up doing to get an OpenJDK 11 build for Raspbian on my Raspberry Pi 3.

  1. Get the latest JDK 11 build of the Liberica JVM (Debian package for ARM v7 & v8, provided by Bell Soft)
    The java download page is here https://www.bell-sw.com/java.html.

    For example:
    wget https://github.com/bell-sw/Liberica/releases/download/11.0.1/bellsoft-jdk11.0.1-linux-arm32-vfp-hflt.deb
  2. Install it

    For example:
    sudo apt-get install ./bellsoft-jdk11.0.1-linux-arm32-vfp-hflt.deb
  3. Set the defaults (if you want to)
    sudo update-alternatives --config javac
    <Select your alternative>
    sudo update-alternatives --config java
    <Select your alternative>


One Response to "JDK 11 on the Raspberry Pi"

  1. Marcus says:

    So, there seems to be a problem with JFR on Liberica for now – the emitted recordings are unreadable by both the reference parser and the JMC one.

Leave a Reply

Your email address will not be published. Required fields are marked *