Java Stored Procedure fails to compile with error: class file has wrong version 50.0, should be 48.0
Last updated on JULY 05, 2017
Applies to:Oracle Server - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
The following errors are reported when trying to compile a Java Stored Procedure on a 10.2.0.4 database:
0/0 callForm:6: cannot access oracle.classname
0/0 bad class file: null
0/0 class file has wrong version 50.0, should be 48.0
0/0 1 error
0/0 import oracle.classname;
0/0 Please remove or make sure it appears in the correct subdirectory
of the classpath.
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