Closed pcollinson closed 4 years ago
I did a release today (2.2) which works with Buster (the previous version does also but I made this one depend on a different version of Java).
You should just be able to run the following:
sudo apt-get update --allow-insecure-repositories
sudo apt-get install --only-upgrade temperature-machine
If you already have version 2.2 and somehow you Java version has gone sideways (it seems like you have 6 installed and you need 8), you can try installing Java 8 manually. Something like:
sudo apt-get install openjdk-8-jdk
I've not testing the later.
Aa I finished this report, put my machine back to stretch, then it updated itself.. confirm it works on stretch (just in case you get queries). I'll try the buster version tomorrow.
OK - it seems that I have Java 11 AND Java 8 installed on the system. Java11 is the default. I ran:
update-java-alternatives --jre --set java-1.8.0-openjdk-armhf
update-java-alternatives --jre-headless --set java-1.8.0-openjdk-armhf
which seemed to do the trick. Is this overkill?
Yep I don’t think it’ll work with Java 11.
Not sure what the best command is to switch but you can test which is running with ‘java -version’.
If you’re happy, feel free to close this issue
Just tried TM on Buster - and it complains about java...
Buster seems to have:
which is all too complicated for me.... suggestions?