My Oracle Support Banner

13c:emcli commands fails with Error: Unable to find a java program of version "1.7" or greater for execution (Doc ID 2476074.1)

Last updated on OCTOBER 12, 2019

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

13c emcli commands fail with the following error despite all the required parameters are set in the environment.

JAVA_HOME and the JDK values are set correctly in the environment:

export JAVA_HOME=/u01/oracle/products/13.2.0/oms/oracle_common/jdk
export PATH=$PATH:$JAVA_HOME/bin:$ORACLE_HOME/bin

$ java -version

Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/u01/oracle/tmp/install
java version "1.7.0_111"
Java(TM) SE Runtime Environment (build 1.7.0_111-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.111-b13, mixed mode)

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
Cause
Solution


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