GraalVM Error With Solution (JNI)

I use GraalVM a lot . One day I decided to see if GraalVM had a reddit - it does! It&rsquo;s fairly inactive, but I came across a thread from 10 months ago: GraalVM beginner - no errors compiling but exe crashes - what am I doing wrong? The error: Exception in thread "main" java.lang.NoSuchMethodError: java.awt.Toolkit.getDefaultToolkit()Ljava/awt/Toolkit; at…