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

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

java was started but returned exit code = -805306369

eclipsejakarta-eepluginshelios

提问by bhpo10

Can anyone help me with this error:

谁能帮我解决这个错误:

java was started but returned exit code = -805306369 C:\Windows\System32\javaw.exe -jar C:\Program Files\Java\eclipse-jee-helios-SR2-win32-x86_64\eclipse\plugins\org.eclipse.equinox.launcher_1.11.1.R36x_v20101122_1400.jar

java 已启动但返回退出代码 = -805306369 C:\Windows\System32\javaw.exe -jar C:\Program Files\Java\eclipse-jee-helios-SR2-win32-x86_64\eclipse\plugins\org.eclipse。 equinox.launcher_1.11.1.R36x_v20101122_1400.jar

回答by thst

Just had this issue, for me it was a corrupted workspace osgi cache. The solution was to run eclipse with the -cleanparameter as

刚刚遇到这个问题,对我来说这是一个损坏的工作区 osgi 缓存。解决方案是使用-clean参数运行eclipse

eclipse.exe -clean

After some time, eclipse required to clean up, the workspace selection dialog popped up and I could start eclipse normally again.

过了一段时间,eclipse需要清理,弹出工作区选择对话框,我又可以正常启动eclipse了。

The -cleanparameter is documented in the eclipse help

-clean参数记录在eclipse帮助中

回答by SnellyBigoda

My problem was a corrupted workspace the solution was from Rob's link:

我的问题是工作区损坏,解决方案来自 Rob 的链接:

http://spacetech.dk/eclipse-failed-java-was-started-but-returned-exit-code-805306369.html

http://spacetech.dk/eclipse-failed-java-was-started-but-returned-exit-code-805306369.html

回答by Arsal

I started getting the same error "exit code = -805306369" just out of no where.

我开始收到同样的错误“退出代码 = -805306369”。

Eventually I looked at the Eclipse logs at the <workspace_directory>/.metadata/.logand realized that my Source Control plugin (Perforce in my case) was unable to connect and the eclipse was stuck.

最终我查看了 Eclipse 日志<workspace_directory>/.metadata/.log并意识到我的源代码控制插件(在我的例子中是 Perforce)无法连接并且 Eclipse 卡住了。

This was because my eclipse was piggy back(depending) on the client connection that I have with my Perforce windows client and my Perforce client was not connected to the server. I connected my Perforce client and the eclipse started working normal.

这是因为我的 Eclipse 依赖于我与 Perforce Windows 客户端之间的客户端连接,而我的 Perforce 客户端没有连接到服务器。我连接了我的 Perforce 客户端,eclipse 开始正常工作。

回答by Shirish Coolkarni

this happens when mostly workspace is corrupted..... cooler solution is just to switch the workspace to safer location(new location).... and just import the project from previous workspace... princess can still be saved....

当大部分工作区损坏时会发生这种情况......更酷的解决方案只是将工作区切换到更安全的位置(新位置)......然后只需从以前的工作区导入项目......仍然可以保存公主...... .

回答by Mina Fawzy

For me , Just change your Workspace to another one

对我来说,只需将您的工作区更改为另一个

回答by Uday Shivamurthy

In my case, it is a work laptop, so pretty secure SOE 64 bit Win 7.

就我而言,它是一台工作笔记本电脑,因此非常安全 SOE 64 位 Win 7。

  • Unzipped Eclipse MARS onto a folder on "C" drive
  • Install failed consistently with Java error code -805306369
  • Created a separate folder on 'C' drive for workspace, granted everyone full-control and that fixed it!!
  • 将 Eclipse MARS 解压缩到“C”驱动器上的文件夹中
  • 安装始终失败并显示 Java 错误代码 -805306369
  • 在“C”驱动器上为工作区创建了一个单独的文件夹,授予每个人完全控制权并修复它!!

回答by Jorgesys

Now i know that my workspace was corrupted, it solved my problem.

现在我知道我的工作区已损坏,它解决了我的问题。

  1. Go to your workspace and rename it.
  2. Start your eclipse and by default it will create a workspace.
  3. Go to File-> Switch Workspace, choose your original workspace.
  1. 转到您的工作区并重命名它。
  2. 启动你的 eclipse,默认情况下它会创建一个工作区。
  3. 转到File-> Switch Workspace,选择您的原始工作区。

回答by Amy McBlane

I wasn't able to disable "Automatically find new updates and notify me." The option was not there on the Install/Updates page. Perhaps eclipse workbench has changed since that answer was written.

我无法禁用“自动查找新更新并通知我”。安装/更新页面上没有该选项。也许 eclipse workbench 自从写了那个答案后就发生了变化。

However, running eclipse with the -clean option in my old workspace did the trick for me. The way to do that in windows is to first find the directory where eclipse.exe lives. You can go to the start menu and in the "search menus and files" bar, type eclipse. You should see the purple globe icon pop up under "Programs." Hover your mouse over it and it will tell you the directory it exists in.

但是,在我的旧工作区中使用 -clean 选项运行 eclipse 对我有用。在 Windows 中这样做的方法是首先找到 eclipse.exe 所在的目录。您可以转到开始菜单并在“搜索菜单和文件”栏中键入 eclipse。您应该会在“程序”下看到弹出的紫色地球图标。将鼠标悬停在它上面,它会告诉你它所在的目录。

Then... open "computer" or some other window from the start menu and from there navigate to the window where eclipse is. Click your mouse in the bar at the top where the directory is displayed (somewhere not on the text). That directory will highlight. Now type cmd. A black command window will open and you will be in the directory where eclipse is. At the command prompt (drum roll) type eclipse.exe -clean

然后...从开始菜单打开“计算机”或其他一些窗口,然后从那里导航到 eclipse 所在的窗口。在显示目录的顶部栏中(不在文本上的某处)单击鼠标。该目录将突出显示。现在输入cmd。将打开一个黑色命令窗口,您将位于 eclipse 所在的目录中。在命令提示符(鼓卷)输入 eclipse.exe -clean

eclipse will start. Make sure it is asking to go to your corrupted workspace and click OK. Wait for it and soon you will know if your workspace has been uncorrupted. Yay!

日食将开始。确保它要求转到损坏的工作区,然后单击“确定”。等待它,很快您就会知道您的工作区是否完好无损。好极了!

回答by Vinay Jain

One of the class file in my project was corrupted. The name of a class file was too long and I was not able to delete or rename it, so I rename the folder containing it and then I was able to delete the project and that solved my problem.

我的项目中的一个类文件已损坏。类文件的名称太长,我无法删除或重命名它,所以我重命名了包含它的文件夹,然后我能够删除该项目并解决了我的问题。

回答by HiB

I got this error, when workspace already setted up. Since the java virtual machine cannot be created. try command: java -version

当工作区已经设置时,我收到了这个错误。由于无法创建java虚拟机。尝试命令:java -version

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I restarted my machine, and it solved my problem.

我重新启动了我的机器,它解决了我的问题。