Install OpenJDK 17 on Raspberry PI

Use below command to install OpenJDK 17 on a Raspberry Pi

sudo apt-get install openjdk-17-jdk
/usr/lib/jvm/java-17-openjdk-arm64/bin $ ./java -version

openjdk version “17.0.11” 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.11+9-Debian-1deb11u1, mixed mode, sharing)

Leave a Reply

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