chunky icon indicating copy to clipboard operation
chunky copied to clipboard

Different Launcher / Chunky JVM issues

Open jackjt8 opened this issue 3 years ago • 0 comments

Odd issue that crops up from time to time for some reason.

It is possible to launch Chunky Launcher, via commandline (java -jar chunkylauncher.jar) or double clicking, and get a Cannot find JavaFX error while the Java Runtime is set to JVM 8. ie - Java is set to JVM 17 which can cause the Cannot find JavaFX error to occur. However you will then be met with a Launch Error after fixing JFX as the actual Java Runtime set within the Launcher is JVM 8.

This typically occurs if someone has previously used/attempted to use Chunky with JVM 8 and then proceeds to try JVM 17. The act of installing JVM 17 would update the default JVM and thus lead to this issue occurring.


While I understand that having a different JVM for the Launcher and Chunky may have uses...

  • Do not auto populate Java Options with --module-path and --add-modules if the Java Runtime is set to JVM 8 even if the Launcher detects JVM 17 being used and finds JFX.
  • If a different JVM to what the Launcher is using is found in the Java Runtime field, query the user: Ignore, Let me pick (and ignore), Use Launcher JVM (and auto populate Java Options).

jackjt8 avatar May 18 '22 10:05 jackjt8