mapton
mapton copied to clipboard
Can't run on Windows 11
Hello,
Compiled the v3 source with Java 17 to the mapton.exe Also downloaded the latest v2.2.1 release. The problem is when I try to run both, I get the "cannot find Java 1.8 or higher" error.
I am on Windows 11 and my JAVA_HOME and Path has been set. Is this a Windows 11 issue? Any advice?
Thanks for open sourcing!
Sean
Hello,
Some updates. I tried on Windows 10 and received the same "Cannot find Java 1.8 or higher" when I compile from source and try to run.
From the releases, if I download the mapton-2.2.1-windows.zip, it runs without error. If I download the mapton-2.2.1-any.zip and tried to run the mapton.exe, it gives the "Cannot find Java 1.8 or higher" error.
Thanks,
Sean
Hi @leowhss , a file like mapton-2.2.1-windows.zip contains a bundled runtime, so it should work all the time, 'any' does not include a runtime so it's depends on the host to provide one.
mapton.exe requires a 32-bit runtime (I have never tried it) and mapton64.exe a 64-bit one.
It's important that the runtime contains bundled javafx modules, like azul provides for instance.
You can see some options with
mapton64 --help
and try to set jdkhome manually like
mapton64 --jdkhome /path/to/jre/or/jdk/with/javafx
I'm not sure why it doesn't pick up your java though.
That said, I have never tried windows 11.