mphi-rc / pi-zero-security-key

A FIDO2 USB security key implementation for the Raspberry Pi Zero
Apache License 2.0
66 stars 7 forks source link

Can't install Java on Pi Zero #2

Closed i-am-gizm0 closed 4 years ago

i-am-gizm0 commented 4 years ago

This isn't an issue with your repo, but how did you install Java on your Pi? I've been having problems with that

i-am-gizm0 commented 4 years ago

I managed to install it. (I've been trying for a couple of days)

mphi-rc commented 4 years ago

It's surprisingly difficult! I don't believe Raspbian Buster supports Java on the Pi Zero.

The Pi Zero has an ARMv6 CPU which the OpenJDK JRE packages stopped supporting in Java 9. And Java 8 has reached end-of-life so was last available in Raspbian Stretch.

For anyone else having trouble: I've had success using the Zulu Community JRE from Azul as they still build and publish ARMv6 binaries. Go for the 32-bit ARM hard-float version.