JavaFX Unable to add modules to Processing IDE

when I start the program it gives me an error “unable to load java Runtime environment”

“unable to load java Runtime environment”
Can you run the current Processing app that is from the Processing.org website? It relies upon Java 17 so you need that on your system. Another thing that you can try is to right-click on the app and go to Contents/MacOS. The executable in there should launch when you double click on it. For whatever it’s worth I can’t run the DropBox version on my system either but I get a different error telling me the developer can’t be verified; likely a gatekeeper error. You may have to resort to re-compiling your own copy of the current editor. It’s not that difficult once you have all the requisite files.

370 / 5.000
the error it gives you is that you have to give permissions “go to system settings - unknown applications” my installed version is "Last login: Thu Oct 31 17:50:28 on ttys001
java -version
openjdk version “17.0.13” 2024-10-15
OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (build 17.0.13+11, mixed mode)

if you give me all the instructions to compile processing I’ll try

It looks like you already have openjdk 17. Did you do what it asked you to do? I’m using Sonoma 14.6.1 so I don’t see the ‘unknown applications’ setting in System Settings. Usually I go to Privacy & Security and open the app there. If you want to recompile the current editor then go to the github site listed above and fork a copy of the editor to your home directory. After you’ve done that let me know and I’ll try to walk you through it. It would also help if you downloaded the ‘Home Brew’ app because you’re going to need it to help install ‘Ant’. Once you have all that it’s only a couple of lines of code in Terminal.

downloaded processing

The app or the github source code?

[quote=“svan, post:27, topic:41272, full:true”]
The app or the github source code?
[/quoteyou downloaded github

Just to be sure of what you’ve done, the source code is here:
https://github.com/benfry/processing4

Fork a copy to your home directory. There should be a folder called ‘processing4’ in your home directory after you fork it.

Yes, I have to leave in 10 minutes, if you want to write the whole procedure to fill it out as you want, we’ll talk on Monday. Happy wikend

I’ll have to walk you through it step by step. Let me know when you have the time to work on it.

I’m coming back on Monday

I already have installed Apache Ant™ version 1.10.15 compiled on August 25 2024, I use for mac packages Platypus
All ok, I compiled it and everything works with javafx, now I create content for mac thanks

2 Likes

Hi, as already read in the previous post that the compilation of processing went well, now that I’m trying to create a form with SceneBulder I created a form with 2 buttons and a label to see when I click on button 1 it reads the content of the label, the second button does another action, I loaded the form with processing but when I click on the button it does not do any action, I don’t know Java very well, but I thought that once the form was made with Scenebulder and giving it the ID of the button it could be called. Help?, Greetings

Hello @roberto64 ,

Please start a separate topic for this.

:)