My Oracle Support Banner

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

Last updated on SEPTEMBER 11, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.