first perform
https://dbatracker.com/2020/10/14/golden-gate-plugging-deployment-for-oem-13c/
download Oracle Management Pack for Oracle Goldengate
https://edelivery.oracle.com/osdc/faces/SoftwareDelivery
search
“Oracle GoldenGate Monitor and Veridata”



In order to install this jar file you need to have correct java version on your system.
[oracle@oel6-rac01 bin]$ java -jar -Xmx1024m /shared_dir/ogg_monitor/fmw_12.2.1.2.0_ogg_Disk1_1of1/fmw_12.2.1.2.0_ogg.jar
Launcher log file is /tmp/OraInstall2020-10-12_10-50-28AM/launcher2020-10-12_10-50-28AM.log.
Extracting the installer . . . . . . . . . . . . . Done
The OpenJDK JVM is not supported on this platform.
The log is located here: /tmp/OraInstall2020-10-12_10-50-28AM/launcher2020-10-12_10-50-28AM.log.
check java version
[oracle@oel6-rac01 bin]$ java -version
java version "1.7.0_181"
OpenJDK Runtime Environment (rhel-2.6.14.10.0.1.el6-x86_64 u181-b00)
OpenJDK 64-Bit Server VM (build 24.181-b00, mixed mode)
[oracle@oel6-rac01 GGSRC]$ which java
/usr/bin/java
Export JAVA from GG home. you need to set JAVA_HOME and PATH variable to correct version of java.
Keep JAVA_HOME as first variable in PATH
[oracle@oel6-rac01 bin]$ export JAVA_HOME=/home/oracle/goldengate_19c/GGSRC/jdk
[oracle@oel6-rac01 bin]$ export PATH=$JAVA_HOME/bin:$PATH
[oracle@oel6-rac01 bin]$ env|grep PATH
LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2/db_1/lib:/lib:/usr/lib
PATH=/home/oracle/goldengate_19c/GGSRC/jdk/bin:/home/oracle/goldengate_19c/GGSRC/jdk//bin:/home/oracle/goldengate_19c/GGSRC/jdk/bin/bin:/u01/app/oracle/product/12.1.0.2/db_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
CLASSPATH=/u01/app/oracle/product/12.1.0.2/db_1/jlib:/u01/app/oracle/product/12.1.0.2/db_1/rdbms/jlib
now check java version
[oracle@oel6-rac01 bin]$ which java
~/goldengate_19c/GGSRC/jdk/bin/java
[oracle@oel6-rac01 bin]$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
now try to run the installation
[oracle@oel6-rac01 bin]$ java -jar /shared_dir/ogg_monitor/fmw_12.2.1.2.0_ogg_Disk1_1of1/fmw_12.2.1.2.0_ogg.jar
Launcher log file is /tmp/OraInstall2020-10-12_03-15-01PM/launcher2020-10-12_03-15-01PM.log.
Extracting the installer . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 1486.658 MHz Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking swap space: must be greater than 512 MB. Actual 4031 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 77933 MB Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2020-10-12_03-15-01PM
Log: /tmp/OraInstall2020-10-12_03-15-01PM/install2020-10-12_03-15-01PM.log
you will get below screen









read next article in this series
https://dbatracker.com/2020/10/14/creating-monitor-agent-instance-and-discover-gg-targets/