Forum Discussion

JamesSaxton's avatar
JamesSaxton
Occasional Visitor
3 years ago

SOAPUI 5.7.1

I just installed 5.7 on linux RHEL 7 using JAVA

 

[alertmonadm@aojenie-w-xxxxx bin]$ java -version

openjdk version "1.8.0_342"

OpenJDK Runtime Environment (build 1.8.0_342-b07)

OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)

You have new mail in /var/spool/mail/alertmonadm

 

I am getting this error – can you provide insight?

 

 

[alertmonadm@aojenie-w-xxxxx bin]$ /opt/apps/StagJmeter/SmartBear/SoapUI-5.7.0/bin/testrunner.sh /opt/apps/StagJmeter/SmartBear/StagingSuite-IncludingESB.xml -a -f /opt/apps/StagJmeter/archives/smartbear/results

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/eviware/soapui/tools/JfxrtLocator has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

================================

=

= SOAPUI_HOME = /opt/apps/StagJmeter/SmartBear/SoapUI-5.7.0

=

================================

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/eviware/soapui/tools/SoapUITestCaseRunner has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

[alertmonadm@aojenie-w-xxxxxx bin]$

 

 

  •  

    You need to have openJDK 11. 

     

    1. download and install openJDK 11

    2. update the system variable to openJDK 11

    3. start the soapui

     

    Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.