tobyweston / temperature-machine

Data logger for multiple DS18B20 temperature sensors on one or more machines
Apache License 2.0
67 stars 22 forks source link

openjdk 9 not support on Pi Zero #69

Closed tobyweston closed 6 years ago

tobyweston commented 6 years ago

The current installation will install Java 9 if Java isn't present. This doesn't work on the Pi Zero for whatever reason.

You will see the following error if you run:

$ java -version
Running hooks in /etc/ca-certificates/update.d...

Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
 ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)

Need to install a specific version of Java via the Debian package setup.

tobyweston commented 6 years ago

Seems better after the above.

$ sudo apt-get install temperature-machine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libxi6 libxrender1 libxtst6 oracle-java8-jdk x11-common
The following NEW packages will be installed:
  libxi6 libxrender1 libxtst6 oracle-java8-jdk temperature-machine x11-common
0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
Need to get 16.4 MB/79.0 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Do you want to continue? [Y/n]