Hi Benjy,
thank you for your response and your suggestions!
Indeed I could connect to http://cdn.azul.com/zulu-embedded/bin/zulu8.36.0.152-ca-jdk1.8.0_202-linux_aarch32hf.tar.gz
Therefore, I have flashed the sd card again and made the changes to the first-boot.sh as you requested. The installation of Java seems to be successful this time. Could have been a temporary network issue?
Nevertheless, there is some strange behaviour at the very end of the installation: openhab is starting and stopping within an endless cycle. I stopped that after about 10 Minutes. Did you ever experience a similar behaviour?
Thanks again for all your help!
Werner
#######################################
–> log-snippet-1:
#######################################
e[90;01m$ tar -xpzf /var/tmp/.zulu.15438 -C /var/tmp/jdk-new e[39;49;00m
e[90;01m$ update-alternatives --remove-all java e[39;49;00m
update-alternatives: error: no alternatives for java
e[90;01m$ update-alternatives --remove-all javac e[39;49;00m
update-alternatives: error: no alternatives for javac
e[90;01m$ update-alternatives --install /usr/bin/java java /opt/jdk/zulu8.36.0.152-ca-jdk1.8.0_202-linux_aarch32hf/bin/java 1083000 e[39;49;00m
update-alternatives: using /opt/jdk/zulu8.36.0.152-ca-jdk1.8.0_202-linux_aarch32hf/bin/java to provide /usr/bin/java (java) in auto mode
e[90;01m$ update-alternatives --install /usr/bin/javac javac /opt/jdk/zulu8.36.0.152-ca-jdk1.8.0_202-linux_aarch32hf/bin/javac 1083000 e[39;49;00m
update-alternatives: using /opt/jdk/zulu8.36.0.152-ca-jdk1.8.0_202-linux_aarch32hf/bin/javac to provide /usr/bin/javac (javac) in auto mode
OK
e[90;01m$ systemctl start openhab2.service e[39;49;00m
Failed to start openhab2.service: Unit openhab2.service not found.
e[90;01m$ apt -y install apt-transport-https e[39;49;00m
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#######################################
–> log-snippet-2:
#######################################
2019-03-20 20:57:43 (5.47 MB/s) - ‘/tmp/nodejs-arm.tar.gz’ saved [17398229/17398229]
e[90;01m$ tar -zxf /tmp/nodejs-arm.tar.gz --strip-components=1 -C /usr e[39;49;00m
e[90;01m$ rm /tmp/nodejs-arm.tar.gz e[39;49;00m
OK
2019-03-20_20:57:46_CET [openHABian] Installing the openHAB Log Viewer (frontail)…
e[90;01m$ npm install -g frontail e[39;49;00m
/usr/bin/frontail -> /usr/lib/node_modules/frontail/bin/frontail
- frontail@4.5.4
added 146 packages from 117 contributors in 16.089s
e[90;01m$ npm update -g frontail e[39;49;00m
e[90;01m$ systemctl daemon-reload e[39;49;00m
e[90;01m$ systemctl enable frontail.service e[39;49;00m
Created symlink /etc/systemd/system/multi-user.target.wants/frontail.service → /etc/systemd/system/frontail.service.
e[90;01m$ systemctl restart frontail.service e[39;49;00m
OK
2019-03-20_20:58:13_CET [openHABian] Adding an openHAB dashboard tile for ‘frontail’… OK
2019-03-20_20:58:14_CET [openHABian] Execution of ‘openhabian-setup.sh unattended’ completed.
2019-03-20_20:58:14_CET [openHABian] Waiting for openHAB to become ready…