# Jar file will not run on external machine with JRE 8

**URL:** <https://forum.codewithmosh.com/t/jar-file-will-not-run-on-external-machine-with-jre-8/3146>\
**Category:** Java\
**Created:** [March 4, 2021, 3:15am UTC](https://forum.codewithmosh.com/t/jar-file-will-not-run-on-external-machine-with-jre-8/3146 "2021-03-04T03:15:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christofitis](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@christofitis](https://forum.codewithmosh.com/u/christofitis)\
**Post date:** [March 4, 2021, 3:15am UTC](https://forum.codewithmosh.com/t/jar-file-will-not-run-on-external-machine-with-jre-8/3146/1 "2021-03-04T03:15:52Z")

</div>

Hello,

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

---

<div class="post-metadata">

**Author:** ![Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/maria/32/735_2.png) [@Maria](https://forum.codewithmosh.com/u/Maria)\
**Post date:** [March 13, 2021, 9:22am UTC](https://forum.codewithmosh.com/t/jar-file-will-not-run-on-external-machine-with-jre-8/3146/2 "2021-03-13T09:22:38Z")

</div>

Hi,

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

This article is addressing the Java Runtime error:

> **[How to Fix java.lang.UnsupportedClassVersionError | Baeldung](https://www.baeldung.com/java-lang-unsupportedclassversion)**
>
> Learn what causes the "java.lang.UnsupportedClassVersionError: Unsupported major.minor version error" message, and how to fix it.

I hope it helps,

Maria
