I think payara-5.2021.4 has an issue related to
but I thought I'd check in here to see if this is a known issue or I'm missing something obvious, before I create an issue.
I have environment where the JAVA_HOME is Java 8, but I specify running Payara on Java 11 with the command
When I run the environment set up script on a server where JAVA HOME is Java 11, there's no problems, but if I run in an environment where JAVE HOME is Java 8, I get an exception. Note, both 8 and 11 are installed, but 8 is the default Java version in the problem environment.
I hit the following:
remote failure: Error occurred during deployment: Class msr.MsrController has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.8.0_292. Please see server.log for more details. Command deploy failed.
Once we set that environment's JAVA HOME to Java 11, I no longer had this issue.
Any thoughts? Thanks!