How to set up JavaFX project in Eclipse

Опубликовано: 23 Октябрь 2024
на канале: Chewy
1,038
11

Hello everyone this video was done at the request of @shriram s in this video I basically set up one of my javafx projects inside of Eclipse. I go over how to set up a library and set up your runtime configurations specifically the VM options.

If you want the quick version jump to this point in the video.

   • How to set up JavaFX project in Eclipse  

If you don't have the VM options set up you will get this Error: JavaFX runtime components are missing, and are required to run this application.

This is what should go into your VM option: --module-path "Your file path." --add-modules javafx.fxml,javafx.controls,javafx.graphics

Your file path should look something like this: C:/Documents/jdk/lib.
Hope you all enjoy the video and find it useful let me know what you think in the comments.