我已从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)"