Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAVA_HOME environment variable is not set - Always-On Setup

Jairo SuarezNov 14 2018 — edited Dec 10 2018

Hi guys

I have a conflict here and I do not know how I can resolve it.

I am trying to setup Always-On monitoring in my test server and documented but a terrible error appear in my screen.

$ ./emsca

Either JAVA_HOME environment variable is not set or an incorrect Java version is used. To run emsca, use Java 1.7

The fear increase when I see that and my swearing words are louder.

$ echo $JAVA_HOME

/app/oracle/oms13cR2/oracle_common/jdk/bin

oratest@its-grid-pri:~

$ java -version

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)

I will really appreciate any feedback.

Comments
Post Details
Added on Nov 14 2018
3 comments
2,567 views