Eclipse 崩溃“java 已启动但返回退出代码 = -805306369”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14803836/
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 19:59:19  来源:igfitidea点击:

Eclipse Crash "java was started but returned exit code = -805306369"

eclipseeclipse-rcp

提问by SteWoo

I'm aware there is an identical post herebut none of the proposed solutions have changed anything and they are quite old (problems to do with Java6) and seem to be referring to a bug to do with Eclipse.

我知道这里有一个相同的帖子但提议的解决方案都没有改变任何东西,而且它们很旧(与 Java6 相关的问题)并且似乎指的是与 Eclipse 相关的错误。

My problem is when I am developing in Eclipse for RCP and RAP Developers; either making changes to java files or changing dependencies etc, Eclipse randomly hangs and then freezes. I have to force close eclipse and I get this message

我的问题是当我在Eclipse 中为 RCP 和 RAP 开发人员进行开发时;更改 java 文件或更改依赖项等,Eclipse 会随机挂起然后冻结。我必须强制关闭日食,我收到此消息

Eclipse RCP Error Message

Eclipse RCP 错误消息

Things I have tried so far:

到目前为止我尝试过的事情:

  • Restarted eclipse and PC
  • Added the -cleancommand to the very beginning of the eclipse.ini file
  • Created a brand new work space and attempted to develop in that
  • 重启eclipse和PC
  • -clean命令添加到 eclipse.ini 文件的最开头
  • 创造了一个全新的工作空间,并试图在那里发展

I'm running on the latest version of Java (1.7.0_13) and haven't got a clue what to do next.

我正在运行最新版本的 Java (1.7.0_13),但不知道下一步要做什么。

The problem has happened 4 or 5 times in a number of different occasions:

该问题在许多不同的场合发生了 4 或 5 次:

  • When I have tried to add a new package to the src folder
  • When I have tried to add a class to a package in the src folder
  • When I have tried to edit a class in a package in the src folder
  • When using Ctrl+Space in a class in the src folder
  • 当我尝试将新包添加到 src 文件夹时
  • 当我尝试将一个类添加到 src 文件夹中的包时
  • 当我尝试在 src 文件夹中编辑包中的类时
  • 在 src 文件夹中的类中使用 Ctrl+Space 时

Any advice/tips would be greatly appreciated! Need to get this problem sorted so I can get developing for my 3rd Year University Project :)

任何建议/提示将不胜感激!需要解决这个问题,这样我才能为我的第三年大学项目进行开发:)

采纳答案by SteWoo

After a lot of researching and filing bug reports to no avail I tried one last clear out of Java and fresh installs of Eclipse to try and fix the error and it seems to have worked.

在大量研究和提交错误报告无济于事之后,我尝试了最后一次清除 Java 和全新安装的 Eclipse 来尝试修复错误,它似乎已经奏效。

Here is what I did:

这是我所做的:

  • Un-installed Eclipse for RCP and RAP developers
  • Un-installed Java from my PC and deleted any old Java folders that were left behind (I didn't do this in previous clear outs so maybe there was an old version of Java messing something up)
  • Did a fresh install of Eclipse for RCP and RAP developers and a fresh install of the latest Java
  • I also deleted my old PATH variable for Java in Environment Variables and put the new one at the front of all the other entries
  • 为 RCP 和 RAP 开发人员卸载的 Eclipse
  • 从我的 PC 上卸载 Java 并删除所有遗留的旧 Java 文件夹(我在之前的清除中没有这样做,所以可能是旧版本的 Java 搞砸了一些东西)
  • 为 RCP 和 RAP 开发人员重新安装了 Eclipse 并重新安装了最新的 Java
  • 我还在 Environment Variables 中删除了 Java 的旧 PATH 变量,并将新变量放在所有其他条目的前面

This seems to have fixed the error for now so hopefully it won't be a short term fix

这似乎暂时修复了错误,所以希望它不会是短期修复

回答by Jorgesys

java was started but returned exit code = -805306369

java 已启动但返回退出代码 = -805306369

is caused by Eclipse′s corrupted workspace, I solved my problem with these 3 steps:

是由 Eclipse 的工作区损坏引起的,我通过以下 3 个步骤解决了我的问题:

1) Go to your workspace and rename it.

1)转到您的工作区并重命名它。

2) Start your eclipse and by default it will create a workspace.

2)启动你的eclipse,默认情况下它会创建一个工作区。

3) Go to File -> Switch Workspace, choose your original workspace.

3) 转到文件 -> 切换工作区,选择您原来的工作区。

回答by Mustafa Baquari

I opened another instance of eclipse and it prompted me to choose a new workspace. I did so and there it was resolved. Then I closed the new workspace and resorted back to old workspace as usual.

我打开了另一个 eclipse 实例,它提示我选择一个新的工作区。我这样做了,然后就解决了。然后我关闭了新工作区并像往常一样回到旧工作区。

回答by user4433375

If using Maven projects, check pom.xml, this may corrupted. Mine resolved by fixing pom file.

如果使用 Maven 项目,请检查 pom.xml,这可能已损坏。通过修复 pom 文件解决了我的问题。

回答by veerendra rajpooot

java was started but returned exit code = -805306369caused by Eclipse′s currupted workspace, I solved my problem with this 4 steps:

java was started but returned exit code = -805306369由于 Eclipse 的工作空间损坏,我通过以下 4 个步骤解决了我的问题:

  1. Close Eclipse.
  2. Kill the adb from task manager.
  3. Start Eclipse and by default it will create a workspace or start with new workspace.
  4. Go to File -> Switch Workspace, choose your original workspace.
  1. 关闭日食。
  2. 从任务管理器中杀死 adb。
  3. 启动 Eclipse,默认情况下它会创建一个工作区或从新的工作区开始。
  4. 转到文件 -> 切换工作区,选择您的原始工作区。