Logan Kippnick
Logan Kippnick

Reputation: 51

How to add VM arguments in Launch4j

I've had some confusion in trying to create a .exe file to run my JavaFX application.

In Eclipse I use the VM Argument:

--module-path "\path\to\javafx-sdk-14.0.1\lib" --add-modules javafx.controls,javafx.fxml

But I'm not sure how to add it to Launch4j to be able to run it. Could someone show me how to add it?

Upvotes: 5

Views: 3825

Answers (1)

Pasindu Lakshan
Pasindu Lakshan

Reputation: 100

In launch4j, Look under the "JRE" tab. There is a textarea to add JVM options. There is a ScreenShot

Upvotes: 5

Related Questions