Hi Josh,

back up and running it works really cool with new JDK.

thanks

Sent with [Proton Mail](https://proton.me/) secure email.

On Wednesday, May 15th, 2024 at 11:39 AM, Jim McNamara 
<jmcnamara10...@proton.me> wrote:

> hi Josh-
>
> Awesome.
>
> I had tunnel vision. I thought I had to install from that series of openjdks.
>
> thanks,
> jim
>
> Sent with [Proton Mail](https://proton.me/) secure email.
>
> On Wednesday, May 15th, 2024 at 11:36 AM, Josh Tynjala 
> <joshtynj...@bowlerhat.dev> wrote:
>
>> Hi Jim,
>>
>> To be clear, there is no subscription required by Moonshine or Royale to use 
>> any JDK version. Moonshine, Royale, and OpenJDK are all free and open 
>> source. If you upgrade your JDK, it will fix this error.
>>
>> The current 0.9.10 release of Royale requires JDK 8 minimum. And the nightly 
>> Royale 0.9.11 requires JDK 11 minimum. Based on the error you are receiving, 
>> it appears that you are running JDK 8 in Moonshine. The Moonshine SDK 
>> Installer should allow you to install a newer JDK. Alternatively, if you 
>> prefer to install JDKs manually, you can also open Moonshine's settings and 
>> configure a custom JDK path. Either option should allow you to upgrade from 
>> JDK 8 to a newer version, and this error will be resolved.
>>
>> --
>> Josh Tynjala
>> [Bowler Hat LLC](https://bowlerhat.dev)
>>
>> On Tue, May 14, 2024 at 4:09 PM Jim McNamara <jmcnamara10...@proton.me> 
>> wrote:
>>
>>> Hi all-
>>>
>>> Is there a way besides compiling from source to get a newer openjdk version 
>>> for the sdk? Where is the best place to go? thanks
>>>
>>> thanks
>>>
>>> Using Royale SDK: "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.11-bin-js"
>>> : java.lang.UnsupportedClassVersionError: 
>>> org/apache/royale/compiler/clients/MXMLJSC 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
>>> : at java.lang.ClassLoader.defineClass1(Native Method)
>>> : at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>>> : at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>> : at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>>> : at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>>> : at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>>> : at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>>> : at java.security.AccessController.doPrivileged(Native Method)
>>> : at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>>> : at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> : at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
>>> : at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> : at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
>>> : Error: A JNI error has occurred, please check your installation and try 
>>> again
>>> : Exception in thread "main"
>>>
>>> Sent with Proton Mail secure email.

Reply via email to