Lolodomo
(Lolodomo)
January 21, 2023, 2:59pm
1
I have a RPI 3 with the following OS:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
After an update & upgrade, if I try to install openJDK 17, the package is not found:
sudo apt install openjdk-17-jre
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet openjdk-17-jre
sudo apt-cache search openjdk-17 returns nothing.
sudo apt-cache search openjdk shows me only packages for Java 8, 9, 10 and 11.
Maybe I have a new repository to add but which one ?
Or a binary to download somewhere ? But where ?
Or does Java 17 requires Rasp OS Bullseye (Debian 11) ???
Wolfgang_S
(Wolfgang_S)
January 21, 2023, 3:42pm
2
In an other thread an other user ( as far as I remember ) had the same problem.
My advice was to use zulu17 which at the end is working for him.
openjdk-17-jre requires higher level of libc than the one which is available on Debian 10.
Other alternative as you wrote would be to go for Debian 11.
1 Like
Lolodomo
(Lolodomo)
January 21, 2023, 3:52pm
3
Thank you for your answer, I will search zulu17.
Lolodomo
(Lolodomo)
January 21, 2023, 4:22pm
4
Zulu JRE for ARM 32 bit HF: https://cdn.azul.com/zulu-embedded/bin/zulu17.40.19-ca-jre17.0.6-linux_aarch32hf.tar.gz
I was able to install it. Will see later if it works. I have now Zulu11 and Zulu17 on the same RPI 3.
Lolodomo
(Lolodomo)
January 21, 2023, 6:36pm
5
And it seems to work with a OH4 snapshot.
Will see if this is stable after few days and more tests.
1 Like
apella12
(Bob Eckhoff)
January 21, 2023, 7:13pm
6
I have had this combo (buster/Zulu jdk17) working on both rpi3b and rpi4 for several weeks. Have installed zwave4snapshots but still OH3.4 core.
Lolodomo
(Lolodomo)
January 21, 2023, 8:41pm
7
Just for clarification, Oh3.x must be run with java 11 while OH4 must be run with java 17.
apella12
(Bob Eckhoff)
January 21, 2023, 10:30pm
8
It (OH3.4/Java17) has been working for me for about 3 weeks, but thanks for the information in case I start to have problems
system
(system)
Closed
March 4, 2023, 2:30pm
9
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.