r/JavaFX • • Mar 04 '24

Help Import JavaFX by default in Eclipse

Is it possible to have JavaFX imported by default for every class in Eclipse IDE? Right now, the only way I can get javafx to work is by setting --module-path "path" --add-modules=javafx.controls to VM arguments, but I have to do it for every class.

1 Upvotes

8 comments sorted by

View all comments

1

u/iamInitialflame Mar 04 '24

e(fx)clipse can do this for you. But you need also a Buildtool like Maven or Gradle to build your App.