My Oracle Support Banner

Java Stored Procedure fails to compile with error: class file has wrong version 50.0, should be 48.0 (Doc ID 1469740.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version 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 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 ^
0/0 Please remove or make sure it appears in the correct subdirectory
  of the classpath.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.