macos - 无法在 Mac OS X 10.7.5 上启动 javafx jar

标签 macos javafx executable-jar

我在 VMware 播放器上运行 Mac OS X 10.7.5。

我已经在我的系统上安装了这些 -

  • 我有 jdk-7u12-ea-bin-b07-macosx-x86_64-27_dec_2012.dmg
  • jre-7u10-macosx-x64.dmg
  • netbeans-7.2.1-ml-javase-macosx.dmg

  • 我已将 java Java Home 设置为指向 java 1.7。在命令提示符下,它显示版本为 -

    Java(TM) SE 运行时环境(构建 1.7.0_12-ea-b07)

    Java HotSpot(TM) 64 位服务器 VM(构建 24.0-b28,混合模式)

    当我试图运行从我的 JavaFX 应用程序创建的 jar 文件时。它在命令提示符下抛出这个 fatal error -

    # A fatal error has been detected by the Java Runtime Environment:
    
    #  SIGSEGV (0xb) at pc=0x00007fff88a54fdf, pid=404, tid=18947
    
    # JRE version: Java(TM) SE Runtime Environment (7.0_12-b07) (build 1.7.0_12-ea-b07)
    
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b28 mixed mode bsd-amd64 compressed oops)
    
    # Problematic frame:
    
    # C  [libobjc.A.dylib+0x9fdf]  objc_msgSend_fixup+0x5f
    

    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

    # An error report file with more information is saved as:
    
    # /Users/User/Desktop/JavaFX/hs_err_pid404.log
    
    # If you would like to submit a bug report, please visit:
    
    #   http://bugreport.sun.com/bugreport/crash.jsp
    
    # The crash happened outside the Java Virtual Machine in native code.
    
    # See problematic frame for where to report the bug.
    
    
    Abort trap: 6
    


    前的 fatal error 的详细信息
    http://neelamsharma.s3.amazonaws.com/jarerrorlog.log

    在启动 netbeans 时,它会产生这个 fatal error -
    http://neelamsharma.s3.amazonaws.com/hs_err_while%20_running_netbeans.log

    从 System Preferences 打开 Java Preferences 时,它显示了这个致命的错误 -
    http://neelamsharma.s3.amazonaws.com/javapreferences.log

    我无法在 Mac OS X 上做任何事情,我怎样才能摆脱这个错误?

    最佳答案

    卸载 EA jdk 并使用已发布的版本。

    关于macos - 无法在 Mac OS X 10.7.5 上启动 javafx jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14194007/

    相关文章:

    python - 更改 Python easy_install 的默认包含路径

    python - 为什么 easy_install 可以正确修改 Python 模块加载路径,而 pip 和 .tar.gz 源却不能?

    Java:一键 Mac 可执行文件,包括 VM 参数

    java - native 代码数据库可以进行逆向工程吗?

    linux - screen : how to turn on alternate screen?

    java - javafx 中使用了什么 javascript 引擎?

    java - JavaFX 中的 TableView 数据编码

    kotlin - Gradle Kotlin DSL Jar.from() 的使用

    java - 使用 maven 和 jetty 创建一个可执行的 jar

    java - tomcat在startup/catalina脚本中的爆战和手动爆战的区别?