I don't know much about eclipse, I need to install JavaFX for a class, and on Youtube:
- ex1: https://www.youtube.com/watch?v=9XJicRt_FaI&t=6342s
- ex2: https://www.youtube.com/watch?v=bk28ytggz7E&t=269s
Some comments say:
"Really important update, if you are using javaSE-16 you NEED to add the javaFX library under the MODULE-PATH instead of under the class-path.
I can't get it to run if I include the user library in classpath. It works if I add it to modulepath though. I'm not sure why.
Just to confirm what some others have said, in Eclipse 2022-03 (4.23.0) I had to add the library to the modulepath instead the classpath to get it to work. Otherwise, this video is very helpful.
My problem is that i can't find this class-path and module-path in the library tab:
Their windows (pictures taken from the youtube tutorials) look like this:
as you can see both have "modulepath" and "classpath".
I'm using eclipse for java developers 2022-03 and I just installed it, I haven't made any changes yet.
I can't get JavaFX to work for this reason, is there a way to make those entries appear, or add the JavaFX library under module-path? Any help would be greatly appreciated. Thanks in advance!
(Please keep it simple.. I don't even know what class-path and module-path mean.. I'm just starting out with Java and Eclipse)