Comments on: Java 17 on the Raspberry Pi https://foojay.io/today/java-17-on-the-raspberry-pi/ a place for friends of OpenJDK Tue, 06 Feb 2024 12:18:16 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Frank Delporte https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-3325 Wed, 04 May 2022 09:30:38 +0000 https://foojay.io/?p=46464#comment-3325 SDKMAN can now be fully used on both 32- and 64-bit OS systems! See https://foojay.io/today/installing-java-with-sdkman-on-raspberry-pi/ for more info.

]]>
By: Alexander Gulyas https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-3322 Wed, 04 May 2022 08:15:05 +0000 https://foojay.io/?p=46464#comment-3322 Thanks so much for this! I noted that I need to copy the installed instance to a second location on my Pi for MultiMC to “see” the install, but these instruction were instrumental to getting Minecraft 1.18 on my Pi. I posted instructions at https://www.hackster.io/gulyasal/minecraft-1-18-2-java-edition-client-on-rpi-4-model-b-14ceca and of course gave you credit for these instructions. Thank you again!

]]>
By: Frank Delporte https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-2022 Tue, 28 Dec 2021 13:03:06 +0000 https://foojay.io/?p=46464#comment-2022 In reply to Richard Hassinger.

Alternative approach via terminal:


$ java -version
bash: java: command not found
$ sudo apt update
$ apt search openjdk
$ sudo apt install openjdk-11-jdk
$ java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.13+8-post-Raspbian-1deb11u1, mixed mode)

]]>
By: Frank Delporte https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-2021 Tue, 28 Dec 2021 12:56:57 +0000 https://foojay.io/?p=46464#comment-2021 In reply to Richard Hassinger.

You probably used the “default” Raspberry Pi OS which is 32-bit. Correct? Unfortunately, SDKMAN indeed doesn’t have a list of 32-bit ARM JDK versions, but working on it… see https://github.com/sdkman/sdkman-cli/issues/836

]]>
By: Richard Hassinger https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-2014 Tue, 28 Dec 2021 05:30:09 +0000 https://foojay.io/?p=46464#comment-2014 Got SDKMAN installed, but no Java is available for my Pi 4B 4GB. “sdk list java” shows no result. I can say “sdk list” and I see java, but if I say “sdk install java” it reports:
Stop! java 17.0.1-tem is not available. Possible causes:
* 17.0.1-tem is an invalid version
* java binaries are incompatible with your platform
* java has not been released yet
…strange…

]]>
By: NoName https://foojay.io/today/java-17-on-the-raspberry-pi/#comment-1958 Fri, 24 Dec 2021 19:00:40 +0000 https://foojay.io/?p=46464#comment-1958 Thanks, I couldn’t get it installed. Sdk makes it so much easier!

]]>