3

我已从 PC 切换到 Mac,但 Netbeans(最新版本,1.7 JDK)有问题。

当我在 NetBeans 中运行该项目时,它不会启动并且我收到此错误:

无法写入核心转储。核心转储已被禁用。要启用核心转储,请在再次启动 java 之前尝试“-ulimit -c unlimited”

但是,如果在 NetBeans 中创建一个“清理和构建项目”,然后从 Finder 启动它,它就可以工作。

我不明白。我是否需要参数一些东西,作为一个 Mac 初学者,在哪里做呢?我发现了人们遇到相同问题但没有找到解决方案的其他主题。

编辑:

完整报告:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff8874b97a, pid=932, tid=36619
#
# JRE version: 7.0_21-b12
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libGL.dylib+0x197a]  glGetString+0xf
#
# 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/Eric/NetBeansProjects/GCW/hs_err_pid932.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.
# Java Result: 134 BUILD SUCCESSFUL (total time: 2 seconds)"
4

0 回答 0