6 ms·
You can have multiple versions of Java on your machine. Packages in other OSs usually have lists of packages they depend upon, packages they conflict with, and
by rbanffy 7y ago
You can have multiple versions of Java on your machine. Packages in other OSs usually have lists of packages they depend upon, packages they conflict with, and "virtual" packages they provide. Therefore, an app that prefers OpenJDK 14 can require it directly while one that doesn't care can require a virtual package called 'java' that's provided by both 8 and 14.
- ocdtrekkie 7y agoSure, but it doesn't really look like Microsoft has a plan or implementation for this yet, and currently serves a version of Java from 2014.
- Operyl 7y agoJava 8 is still widely used, it seems. For example, Mojang (owned by Microsoft) still ship Java8 with Minecraft. Pretty sure 8 still gets updates in 2020 too.
- throwaway8941 7y agoHell, even Spring boilerplate generator still defaults to Java 8. https://start.spring.io/ https://start.spring.io/
- ocdtrekkie 7y agoJava 8 still gets updates, but you have to have a license to get them for business use (kind of like paying for extended support for Windows 7). And then things like OpenJDK fill the gap by making an open source release available that doesn't cost money you can drop in as a replacement. Sure, there are still products that use it (the oldest legacy Java app I still see runs on OpenJDK 11 just fine, mind you), but if you're launching a new package manager in 2020, the only apps that will use it are new apps. So you might as well start with the latest possible release. There's no good reason for Windows Package Manager to start with OpenJDK 8 as the baseline.
- fomine3 7y agoLatest Oracle JDK8 needs license but AdoptOpenJDK8 is still supported and free.
- ocdtrekkie 7y agoI'm aware. But the point is that it highlights how old Java 8 is: The original developer has moved it from being a free version to something you have to pay them for fixes to. This is similar to how Windows 7, an 11 year old operating system, gets patches at this point.
- fomine3 7y agoOracle JDK11 also needs a license like Oracle JDK8. So not good a metric for how the software old. (Another example: CentOS6 still supported but free)