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
Add *early access* version for eager developers to adopt new Java #230
Comments
Early access versions are already available (in distros that provide them) by stating it in the version. E.g. stating 17-ea gets you the latest 17 ea version, and 17.0.0-ea.2 gets you a specific ea version. Per Semver rules, an EA version would only be used if specifically requested (I.e. saying “16” will get you a 16 GA’ed version of a given distro if one is available, but will not give you an EA version..and 16-ea will get you the latest EA version, not the GA versions). “OpenJDK” is a source code project that feeds into many distributions, it is not a distribution and not a place you get binaries and updated versions of those binaries from on an ongoing basis. Most (currently all) distros you can specify under “distribution” are builds of OpenJDK. (much like Ubuntu, CentOS, RHEL, Fedora, Debian, Alpine, Rocky Linux, AlmaKinux, etc. are linux distributions) Oracle does make a distro of OpenJDK available on a routine basis. And adding it as a distro option certainly makes sense (just like adding corretto, dragonwell, sapmachine, liberica, Microsoft build of OpenJDK, etc. makes sense). See #69. A good name for the Oracle distribution of openjdk would probably be oracle-openjdk (to distinguish it from the 9+ other OpenJDK distros). Different distros may cover different versions and update levels, and that covered range and continued availability of binaries and updates may vary (track records, plans, and commitments vary and can change). If/when updates are posted also varies by distro. E.g. Thus far the oracle-openjdk distro’s first available Java version was based on OpenJDK 9, and it has consistently provided two updates (a X.0.1 and a X.0.2) for each Java version “X” since (9,10,11,12,13,14,15,16) in a timely manner. But it also consistently stopped posting binaries after the 2nd update (about 4 months after first GA) for each of those versions, choosing not to continue releasing updates as the various versions in the OpenJDK updates projects keep updating (with bug fixes, security updates, backports, etc.). e.g. at the time of this posting, 11’s current update level in OpenJDK 11u (and available from most distros) is 11.0.12. e.g. the current update level in OpenJDK 8u is 8.0.302. e.g. the current update level in OpenJDK 15u is 15.0.4. At the time of this posting, those are not the update levels currently available in the Oracle OpenJDK distribution. Separately, there is the Oracle Java distribution (separate from the Oracle OpenJDK distribution). Historically, obtaining the binary for this distribution required some sort of click-through acknowledging the license requirements, and thus far (until yesterday, and since early 2019) those license requirements prohibited e.g. commercial use without a contract that allowed it. But things may have changed yesterday with Oracle’s announcements about Oracle Java 17, which may make e.g. an oracke-java distribution a viable option as well. |
Hello @hantsy. Thank you for your report. It looks like we have the similar feature requests about adding Oracle OpenJDK. |
Does this still work for the latest 19 ea? We tried
See https://github.com/graphhopper/graphhopper/runs/6172054216?check_suite_focus=true The JDK 18 in the same job works properly. |
Hello @karussell. Thank you for your comment. I think the root cause of the issue is from java itself because the step with installation was without issues. |
You mean the 19-ea could have an issue like missing certificates? But using 19-ea from adoptium.net directly works fine in our case: See the travis build for this case (it uses |
Could you please try to change maven version to 3.6.3 and disable caching. If it does not help, could you please create a separate issue. |
I already disabled the cache for this job (will disable the cache for the other job too). How can I change the maven version? I am using the default of setup-java I think. Or do I have to change
Sure, thanks! |
I think you can try to use this community action to change maven version. |
Personally, I hope add
openjdk
andoracle
as alternative providers.And provide early access build of OpenJDK for eager developers.
Originally posted by @hantsy in #229 (comment)
The text was updated successfully, but these errors were encountered: