简体   繁体   English

在Mac上运行JavaFx应用程序时出错

[英]Error while running JavaFx application on Mac

  • I devlop one javaFx application and create nave bundle of that application with the help of com.zenjava maven plugin for the Mac. 我开发了一个javaFx应用程序,并在Mac的com.zenjava maven插件的帮助下创建了该应用程序的中殿捆绑。
  • The native bundle that is .dmg is created but while running application it throws following error 已创建.dmg本机包,但在运行应用程序时会引发以下错误

    "vm_info: java Hotspot(TM) 64-Bit server VM (24.0-b56) for bsd-amd64 JRE (1.7.0_40-b43) , build on Aug 26 2013 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658)(LLVM build 2336.11.00" “ vm_info:用于bsd-amd64 JRE(1.7.0_40-b43)的Java Hotspot(TM)64位服务器VM(24.0-b56),2013年8月26日由带有gcc 4.2.1的“ java_re”构建(基于Apple Inc. 。build 5658)(LLVM build 2336.11.00“

  • bundle is created with jdk:1.7.0_40.jdk 包是使用jdk:1.7.0_40.jdk创建的

Hmm, why to use such maven plugins, if there's javafxpackager cli tool included with JDK nowadays and if you want to insert this, also there's ant tasks. 嗯,为什么要使用这样的Maven插件,如果如今JDK附带了javafxpackager cli工具,并且如果您想插入它,那么还有ant任务。 See http://docs.oracle.com/javafx/2/deployment/javafxpackager001.htm and http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference001.htm 请参阅http://docs.oracle.com/javafx/2/deployment/javafxpackager001.htmhttp://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference001.htm

Just check the jre you are using. 只需检查您正在使用的jre。

"vm_info: java Hotspot(TM) 64-Bit server VM (24.0-b56) for bsd-amd64 JRE (1.7.0_40-b43) , build on Aug 26 2013 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658)(LLVM build 2336.11.00" “ vm_info:用于bsd-amd64 JRE(1.7.0_40-b43)的Java Hotspot(TM)64位服务器VM(24.0-b56),2013年8月26日由带有gcc 4.2.1的“ java_re”构建(基于Apple Inc. 。build 5658)(LLVM build 2336.11.00“

bundle is created with jdk:1.7.0_40.jdk 包是使用jdk:1.7.0_40.jdk创建的

the above bundle you are creating containing jre having some problem so just check JRE, and try it again. 上面创建的包含jre的捆绑软件存在问题,因此只需检查JRE,然后重试即可。 It will work. 它会工作。

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

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