I'm back for about the second time this week and third in the past two with more issues. I'm so sorry.
Jpackage creates my app image fine, ( i got this msg thru --win-console) but upon running it through cmd, we get here.
Error: LinkageError occurred while loading main class Chimera.tech.Main
java.lang.UnsupportedClassVersionError: Chimera/tech/Main has been compiled by a more
recent version of the Java Runtime (class file version 58.0),
this version of the Java Runtime only recognizes class file versions up to 55.0
I am (allegedly) on the Oracle JDK 14 and attempting to use Jpackage. It keeps giving me warnings about "incubator modules" which I'm not still sure the meaning of. Finalized command used:
I'm generating an app image, (which I'm then told can be used to make an installer) which I am also still not sure on the meaning of. Is it a standalone app by itself?
Questions about the technicalities of jpackage aside, this program was made in IntelliJ originally as Java 11 until I switched to 14 for jpackage. My system environment variables look fine: PATH is the path to the bin of my jdk 14, as is JAVA_HOME, and "Path" has %JAVA_HOME%\bin inside. I've gleaned that version 55 is 11 and version 58 is 14, so my project is fine, but my question is why is my JRE still running on 11? I've already checked, where java, javac -version, and java -version all say that 14 is my main jdk.