title: How to enable core dump in my Java - Mac OS X
body: <p>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 :</p>
  <pre><code>#
  # 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 &quot;ulimit -c unlimited&quot; 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.
  #
  </code></pre>
  <p>But when i tried runing it in Wondows, the program is fine.
  I tried to follow this instruction :</p>
  <ol>
  <li><a href="https://stackoverflow.com/questions/2919378/how-to-enable-core-dump-in-my-linux-c-program">How to enable core dump in my Linux C++ program</a></li>
  <li><a href="https://stackoverflow.com/questions/28982396/failed-to-write-core-dump-core-dumps-have-been-disabled">Failed to write core dump. Core dumps have been disabled</a></li>
  </ol>
  <p>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..</p>
  <p><a href="https://i.stack.imgur.com/WGvtO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WGvtO.png" alt="enter image description here" /></a></p>