My Oracle Support Banner

Emcli Fails To Detect Java Version (Doc ID 2350233.1)

Last updated on NOVEMBER 16, 2022

Applies to:

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


emcli is failing to detect the Java version correctly, even if the JAVA_HOME and PATH are set to the correct one:

[user:/app/oracle/product/emcli] ./emcli help
Unable to find a java program of version "1.7" or greater for execution.
Set the JAVA_HOME environment variable to a java "1.7" or greater home.


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

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