eclipse Java 已启动但返回退出代码=1073807364

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4817489/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:42:34  来源:igfitidea点击:

Java was started but returned exit code=1073807364

eclipsejavasts-springsourcetoolsuite

提问by Some Java Guy

I am using STS, jdk 1.6. It was working fine until now. I am getting this STS pop-up when I start it.

我正在使用 STS,jdk 1.6。直到现在它都运行良好。当我启动它时,我收到了这个 STS 弹出窗口。

   Java was started but returned exit code=1073807364
   C:/jdk1.6.0_18/bin/javaw.exe
   -Dosgi.requiredJavaVersion=1.5
   ...
   ... /15 more lines of stack on the pop-up window.

Any idea?

任何的想法?

回答by Saggio

Found this; Looks like there is no one problem, that error code can come from a variety of events.

发现了这个;看起来没有一个问题,错误代码可能来自各种事件。

From what I can tell, this error code (0x40010004) arises in all sorts of situations, with (as you noted) no obvious common thread.

据我所知,此错误代码 (0x40010004) 在各种情况下都会出现,(如您所言)没有明显的公共线程。

However this page says "0x40010004" means "the task is running"! So, I would surmise that the correct way to interpret it is as saying "this tasked has exited in a way that prevented it setting a proper exit code".

但是这个页面说“0x40010004”意味着“任务正在运行”!因此,我推测正确的解释方法是说“此任务已以阻止其设置正确退出代码的方式退出”。

I don't know if this will help, but I would try looking in the Windows Event logs to see if the problem is being reported there.

我不知道这是否有帮助,但我会尝试查看 Windows 事件日志,看看是否在那里报告了问题。

found here: What is the cause of JVM exit code 1073807364?

在这里找到:JVM 退出代码 1073807364 的原因是什么?

回答by Douglas Reed

From my experience, that error (described as "task is running") occurs when there is a thread in blocking mode, and the thread cannot be terminated by being interrupted (per the rules) so it lingers, causing the program to hang, and requiring a kill shot. I have experienced that error as recently as today (Sept 5, 2012), and that was the cause (because I did it deliberately).

根据我的经验,当线程处于阻塞模式时会发生该错误(描述为“任务正在运行”),并且该线程无法通过中断(根据规则)而终止,因此它会持续存在,导致程序挂起,并且需要一击必杀。就在今天(2012 年 9 月 5 日),我遇到了该错误,这就是原因(因为我是故意这样做的)。

There may be other causes, but that is one distinct possibility.

可能还有其他原因,但这是一种明显的可能性。

回答by Powerlord

All I can suggest is updating your JDKto the latest release (1.6.0_23) and STSto the latest version (2.5.2) and seeing if the problem still persists.

我只能建议将您的JDK更新到最新版本 ( 1.6.0_23) 并将STS 更新到最新版本 (2.5.2) 并查看问题是否仍然存在。