Error:"Syntax Error... Unrecognized Command or Option (JAVA_OPTIONS)" When Running Opatch lsinventory (Doc ID 2211880.1)

Last updated on FEBRUARY 15, 2017

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 to 12.2.1.2.0 [Release Oracle11g to 12c]
Oracle WebLogic Server - Version 10.3.6 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

While trying to run Opatch command on Fusion Middleware 11.1.1.7.0 it fails with the following errors:

 

Changes

In the Middleware_Home/ wlserver_10.3/common/bin/commEnv.sh:

The JAVA OPTIONS were set as

set JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.SSL.protocolVersion=TLS1"
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms