-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Debian package spec to avoid Oracle Java 8 (it's no longer supported) #89
Comments
Should be an easy fix, openJDK 8 or potentially higher. I'll comment here when I figure out (remind myself) what needs to be done but I imagine it's a change to the release bundle / package spec ( |
The ❌above on a334068 means, it no like oracle 9 |
Some context: I want to see if we can build locally and on CI with the following.
to give the option to just switch over. But then I'd like to see if there would be any problems going up through the versions, up to 11. Although I think the most sensible leap (at least with the Scala aspect is to go to Java 11, skipping 9, and 10 (see https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html), it's not clear to me yet if there'd be any unforeseen surprises with Raspian. If I'm reading the recent change with Oracle licencing correctly and the LTS view being only on 11, again we should probably skip 9 and 10. |
Nothing is easy, looks like the version of RRD4J we use doesn't support Java >8. 3.3.1 (https://github.com/openhab/openhab2-addons/pull/4106) would fix it but previous API breaking changes make that difficult for us. This would be a yak shave and I'd much rather move away from RRD to Influx #73 anyway. Tl;DR to support Java 11, first upgrade RRD4J 🤢 |
As expected CI reports we can't run against Java 11 ❌ See https://travis-ci.org/tobyweston/temperature-machine/jobs/551020957 |
This is fixed now. 👍 When you do an update be sure to use the following command.
This is required until I fix #84 |
Hi - A very noobie. I have all downloaded and updated, but when I run temperature-machine --init, it says I need to update java. Done that, but no go. I need step by step instructions to get the java working and going. Hardware all done, w1_slave file there. Above info is beyond me. Running "Raspbian GNU/Linux 10 (buster)". |
Can you give some more details? What version of Java was installed and what did it want to upgrade to? I'd tested on Buster but am curious if I missed something. The install should install the correct version of Java (OpenJDK 8). |
Using sudo apt-get install temperature-machine tries to install oracle-java8-jdk, but Oracle stopped the public release of java 8 back in May...could other versions of java be supported?
The text was updated successfully, but these errors were encountered: