简体   繁体   English

如何在 Launch4j 中添加 VM arguments

[英]How to add VM arguments in Launch4j

I've had some confusion in trying to create a .exe file to run my JavaFX application.我在尝试创建一个.exe文件来运行我的 JavaFX 应用程序时有些困惑。

In Eclipse I use the VM Argument:在 Eclipse 我使用 VM 参数:

--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.但我不确定如何将它添加到Launch4j以便能够运行它。 Could someone show me how to add it?有人可以告诉我如何添加它吗?

In launch4j, Look under the "JRE" tab.在 launch4j 中,查看“JRE”选项卡下。 There is a textarea to add JVM options.有一个文本区域可以添加 JVM 选项。 There is a ScreenShot有一个截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM