SoapUI 5.6.0 upgrade keeps JRE 8 : java.lang.UnsupportedClassVersionError
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SoapUI 5.6.0 upgrade keeps JRE 8 : java.lang.UnsupportedClassVersionError
When I started SoapUI 5.5.0 today, an upgrade to 5.6.0 was offered.
However, after the upgrade, SoapUI doesn't start; it fails with this error:
java.lang.UnsupportedClassVersionError: com/eviware/soapui/SoapUI 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
I checked the jre contained within SoapUI; it is still "1.8.0_181", but obviously at least Java 9 is required.
I'm on Ubuntu 18.04.4 LTS.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Copying a more recent JRE (Java 11) into the jre subfolder (as suggested here) fixed it.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I confirm that this solved the issue also for me (SO: Ubuntu 20.04). I used AdoptOpenJDK11 and it worked.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi i'm having the same trouble but i cant find the jre subfolder inside of ~/SmartBear/SoapUI-5.6.0/, in wich directory i have to search?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @jmordonez
I have a jre as a child of my parent SoapUI folder (i.e. C:\Program Files\Smartbear\SoapUI-5.6.0\jre) but I'm running windows.
What operating system are you running?
rather than mess about with directories you could just install java properly instead? that would save all the hassle....
ta,
rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@richie thanks for the answer
I'm running on Ubuntu 20.0.4.1
My java version is:
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-8u272-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
I downloaded the SoapUI-x64-5.6.0.sh file from https://www.soapui.org/downloads/thank-you-for-downloading-soapui/
Then i assigned execution permisses and ran it
The installation finished without problems but when i wanted to open it the java.lang.UnsupportedClassVersionError shows up
I still don't able to find the jre folder.
Thanks for your time!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I fixed it installing the latest jdk available of OpenJDK with the command sudo apt install default-jdk, wich installed jdk 11, this made think the problem was my previous java version (1.8.0_272)
Cheers!
