A fatal error has been detected by the Java Runtime Environment:

wujx0213 2015-04-14 08:52:35
在eclipse中安装hadoop插件,ubuntu 环境下执行sudo eclipse -clean出现错误
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xaf27ad71, pid=3372, tid=3075610304
#
# JRE version: 6.0_34-b34
# Java VM: OpenJDK Client VM (23.25-b01 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.13.6
# Distribution: Ubuntu 12.04 LTS, package 6b34-1.13.6-1ubuntu0.12.04.1
# Problematic frame:
# C [libwebkitgtk-1.0.so.0+0x19ed71] webkitWebViewRegisterForIconNotification+0xe1
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

请问该如何解决呢?
...全文
675 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wujx0213 2016-08-09
  • 打赏
  • 举报
回复
我也遇到了呢
使用方式:https://pan.quark.cn/s/57c265f3f6e4 标题中的“JNA方式调用dll报错:A fatal error has been detected by the Java Runtime Environment:”是一个常见的Java编程挑战,涉及与本地库进行交互的Java Native Access (JNA) 和动态链接库(dll)。JNA主要是一个开源库,允许Java代码与本地库进行互操作,无需编写C代码或使用JavaJava Native Interface (JNI)。当出现“A fatal error has been detected by the Java Runtime Environment”这样的错误时,常见于运行时遇到的严重问题,可能由内存溢出、无效指针引用或其他系统级别异常引起。这些问题通常源于以下方面:1. **兼容性检查**:确保使用的DLL与Java环境和操作系统版本兼容;不同Windows版本可能需要不同版本的DLL,且32位与64位应用程序需对应配置。2. **JNA配置验证**:检查JNA的设置是否正确,包括库路径、名称及平台选择等参数;在调用DLL时必须准确指定库名,例如使用`Native.loadLibrary("myDll", NativeLibrary.class)`来引用名为`myDll.dll`的DLL文件。3. **类型映射验证**:确保JNA的数据类型映射与DLL函数完全匹配;若参数或返回值类型不一致可能导致错误。4. **内存管理检查**:JNA调用DLL可能涉及内存分配和释放, improper memory management可能导致泄漏或更严重的问题。5. ...

1,151

社区成员

发帖
与我相关
我的任务
社区描述
该论坛主要探讨基于IBM云计算的开发技术,并为网友们提供自由交流的平台。
社区管理员
  • IBM云计算社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧