运行Java程序的时候,报错:EXCEPTION_ACCESS_VIOLATION (0xc0000005);

根据原网页的说明:

EXCEPTION_ACCESS_VIOLATIONIn rare circumstances, a Java program could stop with a message similar to the following:An unexpected error has been detected by HotSpot Virtual Machine:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c042340, pid=1743, tid=122Java VM: Java HotSpot(TM) Client VM (1.5.4_02)
Problematic frame:
C [ntdll.dll+0x2430]
Essentially, Java will stop with a message such as the above if a "serious" error occurs that means the JVM can't continue to function. Usually, the most discriminating line is the first mention of a DLL, such as the line in bold above. The source of the error could be any of the following:1. a bug in the JVM itself; search Google and/or the Java web site fora mention of ntdll.dll+0x2430;2. a bug in some non-Java code that was being run at the time: e.g.Java might have been calling into a printer driver, graphics driveretc.If you're not sure what to do but are not using the latest version of the JVM for your system, then a good first course of action is usually to upgrade your JVM. If the bug is in some other DLL, e.g. a printer driver, database driver, graphics driver etc, then it is best to see if you can upgrade the component in question.If the error is occurring in some native code that you have written, then you need to find out which line of code corresponds to the offset mentioned (in this case, 0x2430, although the DLL isn't one of ours in this example). Usually you can tell your compiler to generate a "map 

这里可能的原因有:
1. a bug in the JVM itself; search Google and/or the Java web site for
a mention of ntdll.dll+0x2430;
一个JVM自身的bug,访问谷歌或者Java网站寻求(根据 ntdll.dll+0x2430这个信息)
2. a bug in some non-Java code that was being run at the time: e.g.
Java might have been calling into a printer driver, graphics driver
etc.
一个正在运行的非Java代码的某个bug,可能导致调用了打印驱动器,比如这个图形驱动器等;

这里,我的建议是:
1、可能是端口号冲突,关闭不必要的其它Java程序;
2、同一个Java程序,可能内部会设置某个功能为自动启动(会挤掉你现在用的这个Java程序),如果有暂停按钮,先暂停同一个Java程序中的那个功能(不影响的情况下),先跑自己这部分的功能,等自己这部分功能跑完了,再启动其它的功能;

欢迎关注我的公众号:
【幕桥社区】

【Java】Java程序报错:EXCEPTION_ACCESS_VIOLATION (0xc0000005)相关推荐

  1. 命令行使用java运行程序报错:Could not find or load main class

    在初学java的时候希望新建一个类并且在命令行中运行它,偶尔会遇到上述报错,具体过程如下: d:/demo.java: public class Demo{public static void mai ...

  2. 【报错笔记】程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - ‘4ab72edc-c02f-423f-ae9e-18c30

    程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - '4ab72edc-c02f-423f-ae9e-18c306e2cda ...

  3. intellij-IDE运行Java程序报错:java: -source 1.5 中不支持 lambda 表达式 有用

    intellij-IDE运行Java程序报错:java: -source 1.5 中不支持 lambda 表达式 2017年12月29日 15:04:15 佛空如水 阅读数:795 报错: 解决: 第 ...

  4. java 安装报错2503,Windows运维之Win10安装msi程序报错2503和2502错误解决方案

    本文主要向大家介绍了Windows运维之Win10安装msi程序报错2503和2502错误解决方案,通过具体的内容向大家展现,希望对大家学习Windows运维有所帮助. 刚升级了系统到win10,重新 ...

  5. 使用cmd打开java文件,报错:“错误,编码GBK的不可映射字符”

    使用cmd打开java文件,报错:"错误,编码GBK的不可映射字符" 今天使用EditPlus写了一个小程序,用cmd运行时报错--"错误,编码GBK的不可映射字符&qu ...

  6. Linux运行Java出现“Exception in thread main java.lang.OutOfMemoryError: Java heap space”报错...

    在运行如下程序时出现"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space&quo ...

  7. java exec执行tar_用java调用rpmbuild 报错,同一条命令直接复制到终端却能运行

    用java调用rpmbuild 报错,同一条命令直接复制到终端却能运行. 命令如下: rpmbuild --define "_topdir /var/lib/jenkins/workspac ...

  8. 图解Myeclipse 导入Java Web项目报错的解决办法听语音

    图解Myeclipse 导入Java Web项目报错的解决办法听语音 https://jingyan.baidu.com/article/046a7b3e953ef3f9c27fa93d.html

  9. java小白日常报错

    java小白日常报错 CRM项目中使用逆向工程生成mappper.xml文件.pojo文件.和mapper文件时产生的错误* 作为一个java小白人,开始学习写博客,一个是为了为了记笔记,另一个是为了 ...

  10. java程序连接MinIO 报错The request signature we calculated does not match the signature you provided.

    java程序连接MinIO 报错The request signature we calculated does not match the signature you provided. Check ...

最新文章

  1. 第五节 RabbitMQ在C#端的应用-消息收发
  2. html 页面视图中的资源文件(css/js/image)的路径问题。
  3. 解决 maven 项目中加入了 lombok 库后依然报错的问题
  4. 在浏览器中输入 Google.com 回车之后发生了什么?
  5. 组态王中时间存access怎么存,组态王通过Access数据库起始截止日期查询方法
  6. chrome使用技巧
  7. elementUI清空弹框中的表单数据
  8. 国学能带给孩子什么?
  9. vsftp服务器mysql认证_基于mysql控制vsftp的用户认证机制
  10. 整理读研期间用过、改进过、写过的代码
  11. 研发管理系统选型必读
  12. 基于java(springboot)餐厅点餐系统源码成品(java毕业设计)
  13. 下载laravel框架
  14. mysql排序order by asc | desc
  15. 关于st-link与stm32f103c8t6连接
  16. Excel表格中实现IP地址排序
  17. HTML5 video视频制作,控制按钮
  18. 微型计算机中ram中文名字是,微型计算机中,RAM的中文名字是().
  19. vb6实现m3u8文件下载
  20. 家庭支出系统c语言,家庭支出管理系统—c语言程序设计讲述.doc

热门文章

  1. cjson构建_cJSON用法总结
  2. 2023最新版本Activiti7系列-Activiti7概述和入门案例
  3. linux 查看 java版本提示错误
  4. 开始学习Liux shell洛
  5. 【100%通过率】华为 OD 机试真题 C++ 实现【最大报酬】【2022.11 Q4 新题】
  6. kepserver远程配置
  7. 荣耀v40pro和荣耀v30pro参数对比 哪个更值得入手
  8. 程序员的辞职:要命不要钱
  9. 黑马程序员——C基础之疯狂猜数游戏
  10. 米莱狄的机器人是_米莱狄的主要伤害来源于丢出的1技能的飞机,而不起眼的小机器人可以无视掉?...