I am trying to run a Spring Boot app in IntelliJ.
But when I try to run I get the following error message:
Exception in thread "main" java.lang.UnsupportedClassVersionError: myProject has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Here is the JRE location under my Run Configuration:
I have tried installing a couple of different Java versions here:
Here are my current system / environment variables:
Environment Variables:
JAVA_HOME: C:\Program Files\Java\jdk-11.0.12\bin
System Variables:
Path: C:\Program Files\Java\jdk-11.0.12\bin ....
I tried to find a JRE that matched the version, but haven't been able to find it.
Can someone please tell me what changes I need to make so I can successfully run this application locally?

