Oracle GoldenGate Studio : Installation errors with "Could not find the main class: oracle.ide.osgi.boot.OracleIdeLauncher" (Doc ID 2286650.1)

Last updated on AUGUST 11, 2017

Applies to:

Oracle GoldenGate Studio - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

 

Unable to launch Studio after a fresh installation;

$ ./oggstudio

Oracle GoldenGate Studio
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.

Exception in thread "main" java.lang.UnsupportedClassVersionError:
oracle/ide/osgi/boot/OracleIdeLauncher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: oracle.ide.osgi.boot.OracleIdeLauncher.
Program will exit.

 

$ which java
/usr/java/jdk1.8.0_131/bin/java

$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Here is how we set the JAVA variables;

$ export JAVA_HOME=/usr/java/jdk1.8.0_131/
$ export PATH=$JAVA_HOME/bin:$PATH

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms