On Wed, 4 Jun 2025 at 21:42, Kenneth Fogel
<kfo...@dawsoncollege.qc.ca.invalid> wrote:
> Error: LinkageError occurred while loading main class JavaSpaghetti
>               java.lang.UnsupportedClassVersionError: JavaSpaghetti (class 
> file version 68.65535) was compiled with preview features that are 
> unsupported. This version of the Java Runtime only recognizes preview 
> features for class file version 69.65535

I had a quick look at this with JDK25ea from OpenJDK. I found I still
needed "--enable-preview" otherwise the IDE would complain about the
implicit class def and I needed to turn off Compile on Save, in the
project options.
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to