I want to start experimenting with Java on a PI, following this guide http://docs.gluonhq.com/embedded/#_setting_up_the_raspberry_pi and started with
- PI ARMv6 rev 7 (v61)
- Kernel Linux 4.14.79+
- Raspian GNU/Linuxx 9 (stretch)
And tried two Java 11 versions
- https://www.azul.com/downloads/zulu-embedded/ > 11 > Arm 32bit JDK on Linux (for Armv8/v7/v6 Hard Float ABI)
- https://github.com/bell-sw/Liberica/releases/download/jdk11%2B28/bellsoft-jdk11+28-linux-arm32-vfp-hflt.tar.gz
Untarred both to a directory in /opt/. But both give an error "Illegal argument" when trying out these commands
/opt/jdk-11/bin/java -version
/opt/zulu11.1.8/bin/java -version
Am I using wrong versions?