Symptoms:
The build of a Gen 8.x EJB fails with these types messages in the .out file:
[javac] Compiling 42 source files to ...\sample.ief\java\classes\P900
[javac] ...\sample.ief\java\com\ca\SERVER_DETAIL_DEPARTMENT_Bean.java:8: package javax.ejb does not exist
[javac] import javax.ejb.*;
[javac] ^
[javac] ...\sample.ief\java\com\ca\SERVER_DETAIL_DEPARTMENT_Local.java:7: package javax.ejb does not exist
[javac] import javax.ejb.Local;
Cause:
The Build Tool Java token LOC.JAVAEE_HOME has been set to the wrong value resulting in the Java EE SDK file javaeee.jar not being found at build time.
Solution:
The Build Tool will look for the javaeee.jar file in the 'lib' sub-directory of whatever value LOC.JAVAEE_HOME is set to.
LOC.JAVAEE_HOME should be set to the Java EE SDK installation directory.
For an example see TEC537910 ("Setting token name LOC.JAVAEE_HOME in Gen 8.0 Build Tool")