I\'ve been working on a vision project and using some C++ libraries in Java by JNI.
OS: Ubuntu 12.04
In my project, I\'m using boost library to gene
I was experiencing the same issue.
As, the error itself suggests -
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try
ulimit -c unlimitedbefore starting Java again
ulimit gets and sets user limits. For more info on ulimit do -
man ulimit
So, open a terminal and run -
ulimit -c unlimited
This should solve the problem. To check if the change was successful, run -
ulimit -c -l
This should give you an output as follows -
core file size (blocks, -c) unlimited
max locked memory (kbytes, -l) 64
If the problem persists refer to this and this from askUbuntu.