'Where can i find the module-path and class-path in eclipse 2022?

I don't know much about eclipse, I need to install JavaFX for a class, and on Youtube:

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: enter image description here enter image description here

as you can see both have "modulepath" and "classpath".

My eclipse look like this: enter image description here

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)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source