How to set the value of CA Gen 8.6 Build Tool Java token LOC.JAVAEE_HOME

book

Article ID: 50646

calendar_today

Updated On:

Products

CA Gen

Issue/Introduction

CA Gen 8.6 requires that the Java EE SDK be installed to successfully compile generated Java server EJBs and the Classic Style Java Proxy.

Environment

Release: 8.6
Component: CGBT

Resolution

To enable the successful use of Java EE SDK requires the correct setting of the CA Gen 8.6 Build Tool Java token LOC.JAVAEE_HOME.

Download java_ee_sdk-8u1.zip from Oracle page https://www.oracle.com/java/technologies/javaee-8-sdk-downloads.html
(Note that the top level folder in the zip file has name "glassfish5").
Unzip the file into the root of the C drive e.g. C:\java_ee_sdk-8u1
To ensure that all required Java classes (jar files) can be correctly located at compile time set Build Tool Profile Java token:
LOC.JAVAEE_HOME = C:\java_ee_sdk-8u1\glassfish5\glassfish

Additional Information

CA GEN 8.6 > Working with the Build Tool > Profile Token Descriptions > Java Profile Tokens
CA GEN 8.6 > Working With Enterprise JavaBean > Software Installation in the EJB Environment
CA GEN 8.6 > Technical Requirements > General Comments > Application Servers
CA GEN 8.6 > Distributed Processing Terminology > Java Terminology > Java EE