1. 问题描述
[oracle@servername db]$ OPatch/opatch version
OPatch/opatch: line 839: [: too many arguments
OPatch/opatch: line 839: [: too many arguments
Java (1.7) could not be located. OPatch cannot proceed!
OPatch returns with error code = 1
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  1. 解决方案
删除OPatch目录下的jre目录,将db的./jdk/jre 目录copy到OPatch目录下即可!
  • 1.