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

##AfatalerrorhasbeendetectedbytheJavaRuntimeEnvironment:##EXCEPTION_ACCESS_VIOLATION(... #
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000c0190, pid=2640, tid=2120
#
# JRE version: 7.0-b57
# Java VM: Java HotSpot(TM) Client VM (16.0-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x000c0190
#
# An error report file with more information is saved as:
# D:\eclipse\ChatFrame0.5\hs_err_pid2640.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

我是个新手,做练习写了个简单的聊天程序,程序运行以后基本都OK,但是在Client端的TextField中切换输入法的时候 Client窗口就强制退出了,显示出上面的文字,在Server端切换输入法没有出现这种情况,Server和Client 继承的是一个窗口类。这是咋回事啊?对这种问题实在是不知道怎么应付。
展开
 我来答
沐忠04Y
2011-10-28 · TA获得超过450个赞
知道小有建树答主
回答量:151
采纳率:0%
帮助的人:131万
展开全部
应该是JAVA编译器的问题,估计LZ用的是eclispe自带的JRE编译的,与你系统中的JDK版本有编译后的冲突,LZ可以把你项目的运行编译环境全部指向你系统的JDK,再重编译运行试试
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式