ORA-29521 and ORA-29552 Using the "loadjava" Utility to Deploy a Java Stored Procedure (Doc ID 1142933.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Dec-2013***

Symptoms

Used following loadjava command to load java classes into a schema:

loadjava -resolve -verbose -user test/test test.jar


Verbose output shows following errors:

resolving: class dm/SimpleQueryUtil
errors : class dm/SimpleQueryUtil
ORA-29521: referenced name java/lang/StringBuilder could not be found
resolving: class dm/SQQueries
errors : class dm/SQQueries
ORA-29552: verification warning: java.lang.UnsupportedClassVersionError: dm/SQQueries (Unsupported major.minor version 49.0)

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