Documentation

Looking for something in particular?

Java 21 Upgrade

Provar upgraded to Java 21 in March 2025 as part of our ongoing commitment to utilizing the latest technology. This upgrade aligns with our commitment to long-term support compatibility and ensures we can continue to release updates for dependencies.

What is the Impact?

  • Existing configured CI/CD executions may fail due to a Java version mismatch.
  • Custom APIs and page operations using internal libraries will function as expected. However, if you are using external libraries, there may be compatibility issues. We recommend using tools such as Jdeps and Jdeprscan to check your class files. Jdeps can analyze the dependencies of your classes, while Jdeprscan identifies deprecated API usage within a given jar archive, focusing specifically on deprecated JDK methods.

What needs to be updated?

  • Install Java 21 on your system if you are performing ANT executions locally.
  • Ensure Java 21 is installed on any server machines used for remote execution.
  • Configure your CI/CD pipeline to use Java 21 during execution.
  • Update any dependencies or libraries reliant on Java 11 to a version compatible with Java 21, especially if you are using an older library that references Java 11.

Which Java platform/distribution will be used?

Provar will bundle Amazon Corretto 21 with the v2.15.2 release of Provar Automation. Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Learn more.

What if we use another Java provider?

If you are using Oracle Java or another provider, there will be no issues, and you can configure the same Java 21 version on your systems or servers for execution. Since Java 11, Oracle has changed its distribution and licensing model. Instead of passing these costs on to our customers, we have opted for OpenJDK with Amazon Corretto, which offers an extended Long-Term Support window through 2032. If you continue to use Oracle Java from version 21, please ensure you are correctly licensed by Oracle.

If you have any questions or need further assistance, please don’t hesitate to contact our Customer Success Team. Log in to the Provar Success Portal, click “Raise a Case,” or contact your Customer Success Specialist.


Feedback

Was this article helpful for you?

2 people found this article helpful.

Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top