Comments (9)
I know, I've written the docs sentence saying so
Okay then. The whole situation is pretty silly.
from openhab-linuxpkg.
Good idea! Are you fixed on default-jdk-headless? Zulu doesn't seem to provide this virtual package.
from openhab-linuxpkg.
Ah good catch, also default-jdk-headless may not install java 8 at all! I should be able to depend on the following to cover all:
java8-jdk | java8-sdk-headless | java8-sdk | java8-runtime-headless
That said, it shouldn't depend on java 8 but recommend it instead. That way, those who have installed java manually would not have issues.
from openhab-linuxpkg.
Great, seems to cover all the big three, looking at the Provides
of all of them maybe you want to also add java8-runtime (of the Java 8 packages Zulu only provides java8-jdk and java8-runtime).
Recommends
seems like a good choice
from openhab-linuxpkg.
Eek, looks like these virtual packages are a mess.
java9* virtual package provides java8* virtual packages, so if you recommend or depend on the above then it will automatically choose to install java 9, which is incompatible with openHAB 2. What's worse is that there seems to be no way of specifying a maximum version for these virtual packages.
I understand java8 containing java7 virtual packages, Java 8 is fairly backwards compatible. Java 9 however is not.
Related: https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1584118
from openhab-linuxpkg.
Okay... wow, this is the key problem:
it is technically correct that java9 does provide a java8-runtime, but java9 isn't even released yet and should definitely not be the default java8-runtime until that time
I agree with the second part but openHAB needs to be properly tested with Java 9 before it can even be considered. Hence that should not be an option at all. The first part makes sense but totally messes with the initial idea.
What's your suggestion? Recommends: zulu-embedded-8 | oracle-java8-jdk | openjdk-8-jre-headless
from openhab-linuxpkg.
openHAB fails to start on openjdk-9, but that is a problem for another day.
Since oracle-java8-jdk is a provided by oracle-java9-installer I think it'll have to be oracle-java8-installer specifically.
from openhab-linuxpkg.
One last use case, someone has manually installed oracle linux, and then tries to install openHAB2.
Even with recommends it'll install openjdk, which would be less stable. Is this something that we should seek to avoid?
from openhab-linuxpkg.
I know, I've written the docs sentence saying so
😸
Haha, sorry. I should really read the changes more often ;)
from openhab-linuxpkg.
Related Issues (20)
- Manage presence of zram on openHAB mount points when installing/upgrading openHAB HOT 8
- Double startup ? HOT 2
- Debian packages do not deploy to Bintray HOT 3
- Unknown date format Bad header data HOT 20
- nrjavaserial in OH2.5 HOT 6
- upgrading the package doesn't restart running openHAB instance HOT 2
- .deb packages incompatible with DPKG >1.20
- Support DEFAULT, DELETE and DELETEDIR update commands from update.lst
- openHAB3 Post installation process fails HOT 14
- files (re-)installation HOT 1
- Upgrade to OH3 doesn't work on Ubuntu Server 20.04.1 LTS HOT 7
- OpenHab3 breaks openhab-cli HOT 2
- PackageKit error: downloadSubjectPublicKey?username=openhab is not a public key HOT 1
- org.apache.karaf.shell.cfg HOT 3
- Config patching (new feature) HOT 2
- Gentoo and OpenRC support
- support apt-listchanges HOT 2
- Upgrade ops4j pax-logging-* libraries to 2.0.11 HOT 5
- SHA-1 GPG Keys not supported by all distros any longer
- Suggest Java 17 package installation for openHAB 4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-linuxpkg.