Jar file will not run on external machine with JRE 8


I am trying to run my .jar file compiled with JDK11 on another machine. I followed Mosh’s deployment video and installed the JRE 8 on that machine but i only get this error:
HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0

i cannot find a later version of JRE to try. What is the normal practice here? Do i have to install the same JDK on all my client machines to run my java application?

Thank you


I have the same Java Runtime error when running a package from the terminal in intellij.

This article is addressing the Java Runtime error:

I hope it helps,