我在 VMware 播放器上运行 Mac OS X 10.7.5。
我已经在我的系统上安装了这些 -
我已将 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/