How to enable core dump in my Java - Mac OS X

Question

Honestly i'm new using Mac OS X El Capitan, i tried to create some Java program and runing it using eclipse Neon. But i got this error :

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff9c23616f, pid=810, tid=0x0000000000000a0b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libobjc.A.dylib+0x916f]  objc_release+0x1f
#
# 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/febryfairuz/Documents/workspace/FaceDetection/hs_err_pid810.log
pause dipencet
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

But when i tried runing it in Wondows, the program is fine. I tried to follow this instruction :

  1. How to enable core dump in my Linux C++ program
  2. Failed to write core dump. Core dumps have been disabled

I tried type ulimit -c unlimited in terminal but the program still got the same error. Could anyone help me hoe to fix this ? Thanks..

enter image description here


Show source
| java   | osx   | core   | dump   2017-01-06 15:01 0 Answers

Answers to How to enable core dump in my Java - Mac OS X ( 0 )

Leave a reply to - How to enable core dump in my Java - Mac OS X

◀ Go back