Gen 8.6 Java web/EJB build for Oracle Java 11 and JBoss EAP 7.2
search cancel

Gen 8.6 Java web/EJB build for Oracle Java 11 and JBoss EAP 7.2


Article ID: 135919


Updated On:




Gen 8.6 PTFs RTJ86109 and BTN86117 provided support for building Java web/EJB applications with Oracle Java Development Kit (JDK) version 11 and JBoss EAP. 

Those PTFs have since been superseded by the Gen 8.6 Complete roll up PTF for Windows WKS86002.

This article summarises the steps required to build and deploy a Gen 8.6  client server Java application for Oracle Java 11 under JBoss EAP 7.2. 

NOTE: Red Hat JBoss EAP official support for Java 11 is currently limited to version 7.2.


Release: Gen 8.6
Component: Java generated applications and runtime


Jboss 7.2 EAP:

Configure JBoss to set system property java.locale.providers with locale values of COMPAT (for JDK 8 compatibility) and CLDR  (Unicode)

Gen™ 8.6 > Distributed Processing > Working With Web Generation > Configuring the JBoss Application Server JVM for Java 11

Oracle JDK 11 Supported Locales


Build Tool Profile:

Set profile tokens for JAVA section as follows:

LOC.JDK_HOME=<Oracle Java 11 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=11 (the default is 8 for Java 8)

Gen™ 8.6 > Developing > Working with Build Tool > Profile Token Descriptions > JAVA Profile Tokens


NOTE: After generation, build and assemble steps the final .ear file will also include file javax.jms-api-2.0.1.jar in its lib directory (copied from the directory "C:\Program Files (x86)\CA\Gen86\Gen\classes\java11\modules\")

Deploy the ear file to JBoss EAP 7.2 running under Java 11

Additional Information

Gen™ 8.6 > Technical Requirements > Third-Party Software Version - see "Compilers" and "Supported Java Application Servers"