Skip to content

Install JDK 11 on Linux and MacOS images #3093

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

Closed
3 tasks
sebastienros opened this issue Jun 14, 2024 · 6 comments
Closed
3 tasks

Install JDK 11 on Linux and MacOS images #3093

sebastienros opened this issue Jun 14, 2024 · 6 comments
Labels
Ops - Service Maintenance Used to track issues related to maintaining the services .NET Eng Supports Proposed-for-DncDevOps Issues or epics which may represent operational tasks, for consideration

Comments

@sebastienros
Copy link
Member

The Windows images have JDK 11.0.23 installed but the Linux and MacOS ones have JDK 8.
As I am trying to get the aspnet repository to build successfully when users have a more recent version locally, we need to bump Gradle version in our script, but the new version then doesn't support JDK 8 anymore.

For this reason, and also in order to have some consistency (to reduce potential custom steps for each OS target) I'd like to have JDK 11 also available on Linux and MacOS images. NB: we should check if the distribution we use for JDK 8 is still supported (released in 2018)).

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

@missymessa missymessa added the Ops - Service Maintenance Used to track issues related to maintaining the services .NET Eng Supports label Aug 8, 2024
@sebastienros
Copy link
Member Author

Has there been any changes on the available versions of the JDK?

@ilyas1974 ilyas1974 added the Proposed-for-DncDevOps Issues or epics which may represent operational tasks, for consideration label Oct 17, 2024
@BrennanConroy
Copy link
Member

Can we install a more recent version of the JDK? 11 is very old and while it is still under extended support, we really should be using a more modern version like 21 (LTS).

@dougbu
Copy link
Contributor

dougbu commented Oct 18, 2024

I feel this is now two separate requests:

  1. provide consistent JDK versions on Windows and non-Windows machines we maintain
  2. add another more recent JDK version (if they can be installed side-by-side) or bump the single version up

@BrennanConroy could you move (2) into a new issue and provide a bit more background e.g. EOL dates and your preferred timeline❓

@sebastienros
Copy link
Member Author

I am fine if

  • both machines have 11
  • both machines have 21

If it's less work to go to 21 first then let's do that.

@dougbu
Copy link
Contributor

dougbu commented Dec 5, 2024

OpenJDK 8 remains in support but OpenJDK 11 is EOL. Our exact changes and the final selection of JDK versions is visible in the issue we used to track the work done: #4554.

If I remember correctly, this also moved to the latest OpenJDK 8 release on macOS machines. Ubuntu VMs were already getting the latest Ubuntu package releases for Linux as we update the images. And, we didn't touch the Windows machines with Oracle 8 on them.

@dougbu
Copy link
Contributor

dougbu commented Dec 6, 2024

closing this in favour of #4554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ops - Service Maintenance Used to track issues related to maintaining the services .NET Eng Supports Proposed-for-DncDevOps Issues or epics which may represent operational tasks, for consideration
Projects
None yet
Development

No branches or pull requests

5 participants