Choice of JDK on Raspbian Distro
Recommended Setup For PiCrate
RaspberryPI OS Release (32 bit)
The RaspberryPI OS installed OpenJDK probably just works best.
sudo apt install openjdk-11-jdk # installs latest jdk11
ManjaroARM (64 bit)
The latest version of PiCrate works well with stock java install jdk17.
sudo pacman -S jre-openjdk