1 Reply Latest reply on Jun 23, 2019 4:40 AM by AishwaryaRao -Oracle

    OPatch cannot proceed

    3162821

       

      opatch lsinventory -jre $ORACLE_HOME/oracle_common/jdk/jre

      weblogic/Oracle/Middleware/Oracle_Home//oracle_common/jdk/jre/bin/java is not a valid executable for this platform. OPatch cannot proceed!

      OPatch returns with error code = 1

        • 1. Re: OPatch cannot proceed
          AishwaryaRao -Oracle

          Hello,

           

          Please follow below steps:

           

          1. Make sure that JAVA_HOME is set correctly as below

          export JAVA_HOME=/weblogic/Oracle/Middleware/Oracle_Home/oracle_common/jdk

           

          2. Set ORACLE_HOME=/weblogic/Oracle/Middleware/Oracle_Home/

           

          3. Set PATH=$ORACLE_HOME/OPatch:$PATH

           

          Now run

          opatch lsinvenotry -jre /weblogic/Oracle/Middleware/Oracle_Home/oracle_common/jdk/jre

           

          Thanks,

          Aishwarya