Closed ianmartinez closed 1 year ago
Are you sure that is a recent download? I recently fixed a problem where it required exactly Java 8, instead of Java 8 or later. I have already tried to upgrade to the latest version of Install4J, but encountered problems, but if necessary I will look into it again.
Yes this is the latest version of WorldPainter from the website and the latest version of Java 8 (Update 311) downloaded from Oracle's site.
Can you try it with the latest version of Java, while I look into it? Perhaps that will fix it in the short term. I'm pretty sure I've heard of people running WorldPainter on M1 Macs. Unfortunately I don't have access to one myself, so I can't test it.
Also, is that the Intel or ARM version of Java (assuming Oracle provides both; I don't know if that is the case)?
Sadly, it doesn't appear to run with the latest Java either (Java 17). There's not a release of Java 8 that's specific to ARM but there is on Java 17:
Any news on this? I'm trying to run this on an M1 mac and once I installed both JRE and JDK the installer started working and installed the app.
When I launch the app though, it still returns the exact same error
.
Sorry I never got back to you. Is this still relevant?
Yes
Unfortunately I don't have a Mac, let alone an M1 Mac, so this is very hard to debug for me. Especially since other people with M1 Macs have it working.
Could you both try installing this JDK: https://www.azul.com/downloads/?version=java-17-lts&os=macos&architecture=arm-64-bit&package=jdk
Remove all other version of Java. This seems to be one of the most linked to M1 Java environments. Let me know if you can install and run WorldPainter on this.
Had the same issue, installing the Azul JDK fixed it. Thanks for the support.
OK, so it seems the problem is that no M1 version of Java is installed. Other than the Azul one linked above, it appears that Oracle also has one these days: https://www.oracle.com/java/technologies/downloads/#jdk17-mac
I'm going to close this issue since it's not a bug in WorldPainter, but I have tried to improve the download page to hopefully better guide people to the correct version of Java.
I have tried installing with both the latest JRE 8 and the JRE 17 and both fail on Apple Silicon (M1 Max) with this message:
Whereas on my old Intel based Macbook with an identical Java configuration it runs just fine:
With newer releases of install4j, the devs appear to address this. Using also the jpackage packager included with the JDK should also work, as I've used it in the past.