I’ve just installed Processing 4.3 on my Mac, and I’m unable to launch the program. When I run the app, it says “Unable to load Java Runtime Environment.”
I initially just had Java 8 installed, which evidently is too old. So I downloaded the Java 17 JRE from Oracle and installed it. When I run “java -version” from the terminal, it says, “java version “17.0.12” 2024-07-16 LTS”.
Where did you install java 17? On my M2 system if you go to the Finder there should be a menubar item called ‘Go’. If you hold down either the control or option key (can’t remember which), a ‘Library’ menuItem should appear. If you click on this you should see a bunch of folders, one of which is called ‘Java’. Inside of that folder is another folder called ‘JavaVirtualMachines’. Your java version should be in there.
Processing comes with Java (OpenJDK 17) already built-in so there is no need to install Java yourself to use Processing 4.3.
Which version of macOS are you using? Is it possible you are using macOS 14.4? This version had issues with Java apps. If so, try updating to 14.4.1 or later.