Skip to main content

Posts

Showing posts with the label java.lang.ClassFormatError

java thread main java emcli EM12c

Error encountered while trying to extract emcli utility from EM 12c cloud control OMS Home: [ora11g@monitorerp EMCLI]$ java -jar emclikit.jar client -install_dir=/u01/12c_Agent/EMCLI Exception in thread "main" java.lang.ClassFormatError: oracle.sysman.emCLI.CLIInstallLaunch (unrecognized class file version) at java.lang.VMClassLoader.defineClass(libgcj.so.7rh) at java.lang.ClassLoader.defineClass(libgcj.so.7rh) at java.security.SecureClassLoader.defineClass(libgcj.so.7rh) at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh)   Cause: Expected version of java executable is not exists in PATH variable.   Solution: => Set JDK 1.6_u30 in PATH vriable and rerun the command it should execute without any errors => If java 1.6_uxx is not preset in your OS then please download and install it. ...