无法写入核心转储.核心转储已被禁用.要启用核心转储,请尝试使用"ulimit -c unlimited".在再次启动Java之前 [英] Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

查看:1135
本文介绍了无法写入核心转储.核心转储已被禁用.要启用核心转储,请尝试使用"ulimit -c unlimited".在再次启动Java之前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是鞋类应用程序的初学者,当我尝试使用shoes samples/test22.rb在Ubuntu 12.04终端中运行鞋类应用程序时,出现此错误:

I am beginner in shoes app, when I was trying to run a shoes app in the Ubuntu 12.04 terminal using shoes samples/test22.rb I'm getting this error:

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

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again.

那么我该如何解决这个问题,或者有什么可以帮助我在ubuntu中运行一个简单的鞋类应用程序并制作一个桌面应用程序?

So how can I solve this or some one help me to run a simple shoes app in ubuntu and make a desktop app?

推荐答案

我猜你正在跑步鞋4.在ubuntu 14.04上对我来说运行正常,所以让我们找出区别.

I'm guessing you are running shoes4. It runs fine for me on ubuntu 14.04, so let's figure out the difference.

首先,发布sample/test22.rb很不错,因为鞋子存储库中不存在test22.rb,甚至不存在sample22.rb(已不再存在).

First, posting samples/test22.rb would be nice as test22.rb does not exist in the shoes repo and even sample22.rb does not exist (anymore).

例如可能导致此崩溃的重要因素是鞋子版本,JRuby版本和JDK版本.

E.g. important factors that could lead to this crash are the shoes version, the JRuby version and the JDK version.

这是我的价值观:

tobi@tobi-desktop ~/github/shoes4 $ bin/shoes -v
Shoes 4.0.0.pre4
tobi@tobi-desktop ~/github/shoes4 $ jruby -v
jruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on OpenJDK 64-Bit Server VM 1.7.0_79-b14 +jit [linux-amd64]
tobi@tobi-desktop ~/github/shoes4 $ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
tobi@tobi-desktop ~/github/shoes4 $ uname -a
Linux tobi-desktop 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

对于12.04,我个人认为是SWT不再运行的过时JVM版本.

For 12.04 my personal guess would be an outdated JVM version on which SWT does not run anymore.

这篇关于无法写入核心转储.核心转储已被禁用.要启用核心转储,请尝试使用"ulimit -c unlimited".在再次启动Java之前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆