can't compile java collaboration; Incompatible java SDK (Doc ID 1028945.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Sun Schema Runtime Environment (SRE) - Version 5.0.4 to 5.0.4 [Release 5.0]
Microsoft Windows (32-bit)
***Checked for relevance on 29-May-2015***

Symptoms

The following type of error is generated when trying to compile any Java collaboration using e*Gate SRE 5.0.4:

Compiler errors.
C:\eGate\client\bin\temp\964108\crAF_PYXISblWORX.java:20: cannot access java.lang.Object
bad class file: C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar(java/lang/Object.class)
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

Cause

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