Updating Java on a Windows Server

Looking for guidance on how to update Java from 11 to 21 on a Windows Server. The documents I have found is updating on a Linux server.

What version of Jenkins do you plan to use while doing so?

Thank you for your quick response.

We are currently running:

Jenkins v.2.440.1

This Jenkins version works with Java 11 to Java 21.

Which JDK vendor are you currently using?
We recommend Eclipse Temurin.

We are wanting to get it to Java 21. Below is the screenshot showing versions and vendor.

I think it should go pretty smoothly.

You could have a look at :

  1. Migration from Oracle JDK to OpenJDK
  2. and then https://adoptium.net/installation/windows/
  3. and finally https://adoptopenjdk.net/MigratingtoAdoptOpenJDKfromOracleJava.pdf if needed

Even Microsoft recommend an easy path: How to migrate from Oracle Java to Microsoft OpenJDK · microsoft/openjdk · Discussion #381 · GitHub .

Thank you very much. I sincerely appreciate all your help.

1 Like