# JavaFX Unable to add modules to Processing IDE

**URL:** <https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272>\
**Category:** Coding Questions\
**Created:** [March 14, 2023, 2:59am UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272 "2023-03-14T02:59:10Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 4:19pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/21 "2024-10-31T16:19:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [October 31, 2024, 4:48pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/22 "2024-10-31T16:48:04Z")

</div>

`“unable to load java Runtime environment”`  
Can you run the current Processing app that is from the [Processing.org](http://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.

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 4:56pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/23 "2024-10-31T16:56:12Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 4:57pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/24 "2024-10-31T16:57:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [October 31, 2024, 5:09pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/25 "2024-10-31T17:09:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 5:22pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/26 "2024-10-31T17:22:14Z")

</div>

downloaded processing

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [October 31, 2024, 5:25pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/27 "2024-10-31T17:25:35Z")

</div>

The app or the github source code?

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 5:26pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/28 "2024-10-31T17:26:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [October 31, 2024, 5:30pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/29 "2024-10-31T17:30:17Z")

</div>

Just to be sure of what you’ve done, the source code is here:  
[https://github.com/benfry/processing4](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.

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 5:31pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/30 "2024-10-31T17:31:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [October 31, 2024, 5:33pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/31 "2024-10-31T17:33:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [October 31, 2024, 5:36pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/32 "2024-10-31T17:36:10Z")

</div>

I’m coming back on Monday

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [November 4, 2024, 8:54am UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/33 "2024-11-04T08:54:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)\
**Post date:** [November 11, 2024, 11:02am UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/34 "2024-11-11T11:02:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [November 11, 2024, 12:12pm UTC](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272/35 "2024-11-11T12:12:06Z")

</div>

> [@roberto64](#):
>
> 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?

Hello @roberto64 ,

Please start a separate topic for this.

`:)`

[Previous page](https://discourse.processing.org/t/javafx-unable-to-add-modules-to-processing-ide/41272.md?page=1)
