opatch version /bin/java is not a valid executable for this platform. OPatch cannot proceed

[oracle@standby OPatch]$ opatch version
/bin/java is not a valid executable for this platform. OPatch cannot proceed!
OPatch returns with error code = 1

[oracle@standby OPatch]$ cd /usr/bin/j
jade         join         jpegicc      jpegtran     jscal        jv-convert   jwhois
java         jpeg2ktopam  jpegtopnm    jsattach     jstest       jvmjar

[oracle@standby OPatch]$ su -
Password:

[root@standby ~]# ln -s /usr/bin/java /bin/java

[root@standby ~]# exit
logout

[oracle@standby OPatch]$ opatch version
OPatch Version: 11.2.0.3.6

OPatch succeeded.

[oracle@standby OPatch]$

Comments

Popular posts from this blog

Installing DBMS_JAVA package in Oracle and calling UTL_DBWS web services through Oracle database

Starting background process GTX4 and GLOBAL_TXN_PROCESSES

stick the job to the specific instance in Oracle RAC