Patch Reviews - DB (MOSC)

MOSC Banner

opatch commands error

Downloaded latest opatch version 12.2.0.1.30 for 64-bit Linux

when running opatch command such as

opatch version

I am getting the error

./opatch: line 839: [: too many arguments

./opatch: line 839: [: too many arguments

Java (1.7) could not be located. OPatch cannot proceed!

OPatch returns with error code = 1


I confirmed the download is 64 bit, p6880880_122010_Linux-x86-64.zip same as the DB and Java all 64-bit


I also tried adding the -jdk , still same error

opatch version -jdk $ORACLE_HOME/jdk

./opatch: line 839: [: too many arguments

./opatch: line 839: [: too many arguments

Java (1.7) could not be located. OPatch cannot proceed!

OPatch returns with error code = 1

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center