[英]How to run JavaFX project on every OS
I created default JavaFX project in Netbeans which runs on Linux. 我在Linux上运行的Netbeans中创建了默认JavaFX项目。 I tried to run the generated jar file on Windows but the JavaFX cannot be found.
我试图在Windows上运行生成的jar文件,但是找不到JavaFX。 This is the configuration of the jar file.
这是jar文件的配置。
How I can configure the jar file to use specific JVM for the OS on which the Jar file is deployed. 如何配置jar文件以将特定的JVM用于部署Jar文件的操作系统。
Even late, I try to propose an answer: 甚至迟了,我尝试提出一个答案:
Obviously on each OS, the JVM location is different. 显然,在每个操作系统上,JVM的位置都不同。
You shouldn't add manually library as we've done many years ago ;) 您不应该像我们很多年前那样手动添加库;)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.