I made an executable jar file that works perfectly for me, but when I send it to my friend, they get the error A JNI error has occurred, please check your installation and try again
. When they run it in the console, the extended error message is
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/pathto/project
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