I'm road testing the Harting MICA Complete IIoT Starter Kit.
This is an ultra-short blog, explaining how to get a OpenJDK JRE version 1.8 on the Debian Stretch container.
It took me a while to get the right instructions.
The difficulty is that you have to get the package from Jessie's backport.
But that location isn't available in the main Jessie download area anymore, you have to get it from archive.debian.org.
And because the files are invalidated by debian.org, you have to tell apt-get to not check the "valid-until" date.
First, update the installer source list:
nano /etc/apt/sources.list
add this line, then save and exit
deb http://archive.debian.org/debian jessie-backports main
then tell linux you've added a source:
apt-get update
and install the headless java runtime
apt-get install -o Acquire::Check-Valid-Until=false -f openjdk-8-jre-headless
Check a few things:
java -version
output:
openjdk version "1.8.0_212" OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1~deb9u1-b01) OpenJDK Client VM (build 25.212-b01, mixed mode)
update-java-alternatives --list
output:
java-1.8.0-openjdk-armhf 1081 /usr/lib/jvm/java-1.8.0-openjdk-armhf