Gen 8.6 Build Tool profile JAVA tokens for JDK compiler versions 11, 17, 21, 25
search cancel

Gen 8.6 Build Tool profile JAVA tokens for JDK compiler versions 11, 17, 21, 25

book

Article ID: 218649

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

How should the Gen 8.6 Build Tool profile JAVA tokens be set when using Java JDK compiler versions 11, 17, 21, 25?

Environment

Gen 8.6 Build Tool

Resolution

When using a Java JDK version 11, 17, 21, 25 the BT profile tokens for the JAVA section should be set as follows:

LOC.JDK_HOME=<Oracle Java JDK install directory>

LOC.JAVAEE_HOME=C:\Program Files (x86)\CA\Gen86\Gen\classes\java11\modules\  (Assuming Gen is installed in default location. The Gen 8.6 java11\modules directory provides required Java EE runtime classes that are no longer included in Java 11)

OPT.JAVAVERSION=nn where nn is the relevant JDK version (the default is 8 for Java 8) 

This is documented under: Gen™ 8.6 > Developing > Working with Build Tool > Profile Token Descriptions - see "JAVA Profile Tokens"

Additional Information

NOTES:
Gen 8.6 PTFs RTJ86109 and BTN86117 originally introduced support for building Gen 8.6 Java applications with Oracle Java Development Kit (JDK) version 11.
Those PTFs have since been superseded by the Gen 8.6 Complete PTF WKS86200/SO09618

February 12, 2026:
Gen 8.6 Build Tool PTF BTN86406/LU19288 provides the new support for Java JDK 17, 21 & 25.