My Oracle Support Banner

Java Exception When Creating OGG Monitoring Agent Instance (Doc ID 2076873.1)

Last updated on MARCH 06, 2020

Applies to:

Management Pack for Oracle GoldenGate - Version and later
Information in this document applies to any platform.



Running the Monitor Java Agent installer fails with a Java error:

export JAVA_HOME=/u01/app/oracle/goldengate/ggshome/jdk
export PATH=$JAVA_HOME/bin:$PATH
[oracle@<Instance_name> ogg_agent]$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

[oracle@<Instance_name> ggshome]$ cd /u01/app/oracle/goldengate/ggshome/jagent_12_1_3/oggmon/ogg_agent
[oracle@<Instance_name> ogg_agent]$ ./
Please enter absolute path of Oracle GoldenGate home directory : /u01/app/oracle/goldengate/ggshome
Please enter absolute path of OGG Agent instance : /u01/app/oracle/goldengate/ggshome/jagent_12_1_3/agent_12_1_3
Exception in thread "main" java.lang.NoClassDefFoundError: java/nio/file/FileSystems
at com.goldengate.monitor.jagent.instance.AgentInstanceCreationUtil.getAgentInstanceHome(
at com.goldengate.monitor.jagent.instance.AgentInstanceCreationUtil.main(
Caused by: java.lang.ClassNotFoundException: java.nio.file.FileSystems
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(


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.