Can Gen Liberty applications be built/compiled using Java JDK 17 or 21
search cancel

Can Gen Liberty applications be built/compiled using Java JDK 17 or 21

book

Article ID: 390512

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Referencing the new Gen 8.6 support for the Liberty Application Server.
Per the Technical Requirements > Third-Party Software Version page and section Application Servers.
It states that Gen 8.6 support for Open Liberty and WebSphere Liberty includes Java JRE versions 8, 11, 17 and 21.
Does that also mean the Build Tool can use Java JDK 17 or 21 to build/compile the Java application?

Environment

Gen Java applications targeting Liberty Application Server.

Resolution

Per the section Compilers on the same doc. page only JDK versions 8 and 11 are listed and there is also this Note:


So the support for Java JDK versions in the Build Tool is still limited to versions 8 and 11.
Support for JDK versions 17 and 21 is planned on the Gen roadmap for 2025 per Gen EDGE Community post: Gen 8.6 certification plans for 2025