EJB Gen utility does not work with JDK source version 1.6

(Doc ID 1097933.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.


EJBGEN utility fails when –source option is used with a value of 1.6, as below:

java com.bea.wls.ejbgen.EJBGen -source 1.6 -descriptorDir . SystemAccountRequestBean.java
EJBGen WebLogic Server 10.3 SP0 Fri Jul 25 16:30:05 EDT 2008 1137967

Warning: No EJBGen file found!

The same works fine with value of 1.5 for –source option. Also, no issue with workshop.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms