My Oracle Support Banner

Opatch Failed With Error Code 1 : java.lang.UnsupportedClassVersionError oracle/opatch/OPatch (Unsupported major.minor version 49.0) (Doc ID 1352579.1)

Last updated on SEPTEMBER 20, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

"OPatch failed with error code 1" is reported before crashing while executing any opatch command.

./opatch version
OPatch was not able to set FMW_COMPONENT_HOME by itself.
class cannot be loaded: java.lang.UnsupportedClassVersionError: oracle/opatch/JavaSystemProp (Unsupported major.minor version 49.0)  - java.lang.UnsupportedClassVersionError: oracle/opatch/JavaSystemProp (Unsupported major.minor version 49.0)
class cannot be loaded: java.lang.UnsupportedClassVersionError: oracle/opatch/JavaSystemProp (Unsupported major.minor version 49.0)  -
..
..
class cannot be loaded: java.lang.UnsupportedClassVersionError: oracle/opatch/OPatch (Unsupported major.minor version 49.0)  - java.lang.UnsupportedClassVersionError: oracle/opatch/OPatch (Unsupported major.minor version 49.0)

OPatch failed with error code 1

 


Cause

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
Symptoms
Cause
Solution
References


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