Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JDO applications SAP Netweaver 7.3

Hi all,

I have a application using Java Data Objects (EJB DC migrated 6.40 to 7.3). I have this error when I make build:


[jdo.enhance] WARNING: Caused by: The byte code of the class file has version 1.6. This is not supported by the JDO enhancer. Please compile with the option -target 1.5.

[jdo.enhance] WARNING: at

[jdo.enhance] WARNING: at<init>(

[jdo.enhance] WARNING: at

[jdo.enhance] WARNING: at

[jdo.enhance] WARNING: ... 45 more

[jdo.enhance] aborted with errors.

Ant runtime 1.07 seconds

Ant build finished with ERRORS

JDO enhancer failed because of unknown Error: 1

Build stopped due to an error: JDO enhancer failed because of unknown Error: 1

Build plugin finished at 2013-03-14 10:10:49 GMT+01:00 (CET)

Total build plugin runtime: 1.35 seconds


Build finished with ERROR

I have read this document (, but I don't know how to do the following and if that will fix my error:

■  JDO applications

Applications using Java Data Objects (JDO) need special attention. Though the applications themselves can be compiled and built with JDK 6, the actual JDO classes need to be compiled with JDK 1.5 or with JDK 6 using the “-target 1.5” option. JDO classes can be easily detected by their accompanying .jdo and .map files.

The requirement to use JDK 1.5-compliant build target results from the fact that the class files of JDO classes need to be post-processed by a tool known as the JDO enhancer. The class file format was significantly changed with JDK 6. However, the JDO enhancer does only support the JDK 1.5 class file format. Therefore, JDO classes must be compiled in such a way that the JDK 1.5 format is used for the class files. This can be achieved by using JDK 1.5 directly or JDK 6 with the option “-target 1.5” in the build.

Can anyboy help me?

Thanks in advance.

Former Member
Former Member replied

Hi Portal User,

you need to configurate your NWDS.

In Windows Preferences, you have to go to:

· Development Infraestructure -> DC Build. Then you have to select:

   JDK for DC Build: blank

   Default Source Compliance: 1.5

   Default Target Compliance: 1.5

· Java -> Installed JREs you need add JDK 1.5.

After you import your Track from NWDI, and create your DC WD project. You will make 'build' alright!


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question