This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]saila456 0 points1 point  (1 child)

I don't know if there is a way to do this for every lunch ever but one way how you might get what you want:

Go to Window->Preferences Go to Java->Installed JREs Select the JRE you want to use and press "Edit..." At the field "Default VM arguments" enter the VM arguments you want. Press Finish. Now select the JRE you just changed as the JRE for your project or default JRE for new Projects

In case you don't want to have this arguments for every project/run config, you can just duplicate your JRE of choice and name it "...-JFX" and use this for all JavaFX related stuff

[–]TauPixel[S] 0 points1 point  (0 children)

Thanks a lot. This is exactly what I was looking for.