Forum Discussion
redfish4ktc2
10 years agoSuper Contributor
Hi,
when you run the java command from the groovy script, you got an error saying the java command cannot use classes build for java 8 or greater
This is what means (see http://en.wikipedia.org/wiki/Java_class ... ral_layout)
So seleniumFirefox.jar is intended to be used with a java 8 version and you run it with java 7 (or lower). This is probably the version used to run soapui (i guess you have installed SoapUI with an embedded jre)
You have 2 solutions:
* if you have sources seleniumFirefox, compile it to make it work with java 7 (if the code does not rely on java 8 features)
* install a java 8 jre on your machine, set the JAVA_HOME env var to the java 8 installation directory (see also viewtopic.php?f=5&t=25106) and restart Soapui. In the startup log, you should this the new java version being used
Hope this will help
when you run the java command from the groovy script, you got an error saying the java command cannot use classes build for java 8 or greater
This is what means (see http://en.wikipedia.org/wiki/Java_class ... ral_layout)
java.lang.UnsupportedClassVersionError: seleniumFirefox : Unsupported major.minor version 52.0
So seleniumFirefox.jar is intended to be used with a java 8 version and you run it with java 7 (or lower). This is probably the version used to run soapui (i guess you have installed SoapUI with an embedded jre)
You have 2 solutions:
* if you have sources seleniumFirefox, compile it to make it work with java 7 (if the code does not rely on java 8 features)
* install a java 8 jre on your machine, set the JAVA_HOME env var to the java 8 installation directory (see also viewtopic.php?f=5&t=25106) and restart Soapui. In the startup log, you should this the new java version being used
Hope this will help