Forums: Troubleshooting and Problems
Dear Dave,
what is the Java version on your machine? You can use "java -version" to find out.
The error is typical for the case that the software has been compiled with a later version of Java than the one you are trying to execute it with.
What do the release notes say about the minimal Java version required?
Best regards,
Jozef
Trying to invoke the CLI validator in Pinnacle 21 Community v2.1.2, and I'm getting the same sort of errors I was getting previously:
java.lang.UnsupportedClassVersionError: org/opencdisc/validator/cli/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.opencdisc.validator.cli.Main. Program will exit.
Picked up JAVA_TOOL_OPTIONS: -Djdk.lang.Process.allowAmbigousCommands=true
Exception in thread "main"
Is there any known work-around? Is the CLI validator no longer a supported tool?