简体   繁体   English

运行Java程序时的eclipse内部错误

[英]Internal error in eclipse when running java program

Eclipse froze on me earlier today, so I typed "top" into the command prompt and killed it. Eclipse今天早些时候冻结了我,因此我在命令提示符下键入“ top”并杀死了它。 Now when I try to run a java application, I get this error: 现在,当我尝试运行Java应用程序时,出现以下错误:

eclipse\plugins\org.eclipse.jdt.debug_3.7.0.v20110509

That's all that shows up under details. 这就是所有细节中显示的内容。

None of my previously working programs run, and I have no clue what this is. 我以前的工作程序都没有运行,我也不知道这是什么。 I have Eclipse 1.5.0 running 1.6 and 1.7 Java, depending on what program. 我有运行1.6和1.7 Java的Eclipse 1.5.0,具体取决于什么程序。 Thanks for any help. 谢谢你的帮助。

It is possible that you killed part of the process but not all of it. 您有可能杀死了该过程的一部分,但不是全部。 It is possible that a java process is running with a reference to this job. Java进程可能正在运行与此作业的引用。 I would try restarting your computer to see if it will stop whatever process is referencing that jar. 我将尝试重新启动计算机,以查看它是否将停止引用该jar的任何进程。

Aside from a restart, then another option would be to use (in linux) pstree, filtered for your user to see if any other jobs are referencing that jar and/or java. 除了重新启动之外,另一种选择是(在Linux中)使用pstree(为用户过滤),以查看是否有其他作业正在引用该jar和/或java。

EDIT: Another path is to look at log files. 编辑:另一个路径是查看日志文件。 On linux they are in /var/log. 在Linux上,它们位于/ var / log中。 Here's a link in that direction: http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/felog.html 这是朝该方向的链接: http : //docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/felog.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM