-
Notifications
You must be signed in to change notification settings - Fork 73
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
Support Java 9 #862
Comments
Came up in #858 |
The issue seems to be testing with Java 9 (and, presumably, Java 10 now) and fixing any bugs that show up. Adding features to exploit the new capabilities of Java 9 and 10 would be in individual RFEs separate from this test item. |
Tested Here are results:
|
Assigned to Kiran for time being so that right JDK version to be used can be known, after consulting with Product Mangement, DHF teams. |
The JDK versions are being clarified as I write. Based on Ajit's testing and a few fixes that I checked in, I believe develop can compile and run on 8 - 11. |
Have setup Jenkins jobs that handle Java 8, open jdk 9, 10, 11 environments. Had to make gradle (wrapper) changes to handle different Java versions. |
9 and 10 are end of life. 8 and 11 have long term support options (till
2024). JDK 12 is now out. The jump from 8 to 9+ was the tricky one. Sure
you want to even bother with 9 and 10? 8, 11, and 12 might be better
picks. (and 12 will have the same short term shelf life). Come April
16th, the Oracle JDK 8 (and 11, I believe) will require an extended support
contract to get those builds. AdoptOpenJDK is the free as in beer LST
versions we are going with.
…On Tue, Mar 26, 2019 at 7:38 PM georgeajit ***@***.***> wrote:
Have setup Jenkins jobs that handle Java 8, open jdk 9, 10, 11
environments. Had to make gradle (wrapper) changes to handle different Java
versions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#862 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACAzTMG0fH3tLLDfoA4Cwu6f4sMiNC-cks5var1pgaJpZM4Qy13x>
.
|
It makes sense that Java shops migrating off 8 are going straight to 11. Whether most Java shops that are already on 9 or 10 are quickly moving to 11 is less clear. Our direction for testing is to move to OpenJDK with the premise that it gives us the broadest set of environments. |
I'm managing the transition at our 350k person shop, and this has been a
tremendous amount of ... fun.
* Oracle requires a commercial license to run on JDK 8 as of January. JDK
8u201 is likely the last publicly available version. April 16th is when
the next set of Oracle release hits - for those with an extended support
contract. (For example, 7u80 is the last public build, 7u211 is the
current build)
* Oracle will have a 'patched' version of 11 for extended support
customers. For those doing it for free, they must go to 12. 11 Was
identified as an LTS version.
* Adopt OpenJDK has a LTS version of 8 and 11. (and also a 12) . They
dropped 9 and 10 downloads.
* Oracle dropped 9 and 10 downloads
* RHEL has 8 and 11 OpenJDK LTS Linux versions. $20 unknown - what does
that mean for Centos users. RHEL consumers are covered by the license. 9
and 10 appear to be dropped.
* RHEL has 8 and 11 OpenJDK builds for windows, with paid support.
* Amazon is supporting a free as in beer version of 8 and 11. (Works nice
too)
This was a nice write up of the different blog options out there.
https://blog.joda.org/2018/09/time-to-look-beyond-oracles-jdk.html?m=1
And download links. If you have JDK 9 and 10 media - hand on to it,
because those binaries will be hard to come by in a few months.
https://access.redhat.com/articles/1299013
https://adoptopenjdk.net/
https://aws.amazon.com/corretto/
…On Fri, Mar 29, 2019 at 11:12 AM Erik Hennum ***@***.***> wrote:
It makes sense that Java shops migrating off 8 are going straight to 11.
Whether most Java shops that are already on 9 or 10 are quickly moving to
11 is less clear.
Our direction for testing is to move to OpenJDK with the premise that it
gives us the broadest set of environments.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#862 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACAzTMddMDotpbXDyLruZ0JRF-JV68aCks5vbjtRgaJpZM4Qy13x>
.
|
Subscribing @aroach337 , who will be interested in the preceding comment. |
Poking around - the latest release of adoptopenjdk does still show the 9
and 10 versions. You just get the tar.gz version, so if you are setting up
Linux
# tar -xvf OpenJDK11U-jdk_x64_linux_hotspot_11.0.2_9.tar.gz -C /usr/lib/jvm
# vi /etc/environment
PATH=$PATH:/usr/java/jdk-11.0.2+9/bin:
JAVA_HOME=/usr/java/jdk-11.0.2+9
# update-alternatives --install /usr/bin/java java
/usr/lib/jvm/jdk-11.0.2+9/bin/java 2
# update-alternatives --install /usr/bin/javac javac
/usr/lib/jvm/jdk-11.0.2+9/bin/javac 2
# update-alternatives --config java
# update-alternatives --config javac
For those on a mac, with homebrew (https://brew.sh/)
As an elevated user...
$ brew tap AdoptOpenJDK/openjdk
$ brew cask info adoptopenjdk11
$ brew cask install adoptopenjdk11
You can do 8 with adoptopenjdk8
…On Wed, Apr 3, 2019 at 12:35 PM Erik Hennum ***@***.***> wrote:
Subscribing @aroach337 <https://github.com/aroach337> , who will be
interested in the preceding comment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#862 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACAzTDpY7SVmNlulsv7DDXzQFFGjpNVRks5vdOZzgaJpZM4Qy13x>
.
|
No description provided.
The text was updated successfully, but these errors were encountered: