Reputation: 347
I have the latest JDK (update 65), but Eclipse doesn't even recognize JavaFX when I try to import it.
How do I fix this and import it?
Upvotes: 8
Views: 58273
Reputation: 7255
Follow the steps:
Go Help
Go Eclipse MarketPlace...
Search e(fx)clipse
Install It
Upvotes: 3
Reputation: 374
After following these steps
you can import javafx and if you want to add on your project just follow:
Java Build Path
-> Libraries
-> Add Libraries
-> JavaFx SDK
Upvotes: 6
Reputation: 121
Do these following steps:
--module-path /path/to/JavaFX/lib --add-modules=javafx.controls,javafx.fxml
Upvotes: 12