user8763033
user8763033

Reputation:

Why Eclipse does not recognize JavaFX, Even after adding JavaFx user libararies?

All Added Libraries in Eclipse

I am using everything with latest version. Still all those red warnings dont go away. You should check image up. Thanks.

Upvotes: 0

Views: 567

Answers (2)

Uyi Oduware
Uyi Oduware

Reputation: 1

To do this, right click on your project in the package explorer tab at the left of screen. Then click on properties, then click on Java Build Path, then click on libraries tab, inside the libraries tab click on Modulepath and select Add Library on the right. Then add the JavaFX library you added in user libraries.

Upvotes: 0

user8763033
user8763033

Reputation:

All videos and tutorials recommanded adding JavaFX as user libraries to Classpath. This does not work at all. Adding JavaFX User library under Modulepath only worked. I done everything correctly but adding user libraries under class did not solve the problem. My problem is now solved. Please feel free to comment or suggest if anything I did wrong.

Image of added libaries and problem solved no red errors showing.

Upvotes: 1

Related Questions