简体   繁体   English

无法在Eclipse中运行我的项目,因为Java强制关闭

[英]Can't run my project in eclipse because java force closes

I hope this is more worded to be on topic because me not having the ability to code because of a java issue is off topic apparently. 我希望这是关于主题的更多措辞,因为由于Java问题,我没有编码能力显然不在主题之列。

When I try to run my project in eclipse. 当我尝试在Eclipse中运行我的项目时。 Eclipse just sais at the bottom with no stack trace. Eclipse只是说在底部,没有堆栈跟踪。 If I compile the jar file and run it with javaw it does nothing. 如果我编译jar文件并使用javaw运行它,它什么也没做。 If I run it with java it brings up the java(tm) platform has stopped working. 如果我使用Java运行它,它将显示java(tm)平台已停止工作。

What I have tried: 我试过的

  • Changing association of .jar to use java and javaw 更改.jar的关联以使用Java和Javaw
  • tried uninstalling java and reinstalling 尝试卸载Java并重新安装
  • installing windows updates 安装Windows更新
  • restarting my computer 重新启动我的电脑
  • cleaned registry 清理注册表
  • running it in command prompt (just pulls up a window saying "Java(tm) platform se binary has stopped working." There is no stacktrace inside the prompt either.) 在命令提示符下运行它(只是弹出一个窗口,说“ Java(tm)平台se二进制文件已停止工作。”提示符内也没有stacktrace。)
  • scanned for any malware/viruses 扫描任何恶意软件/病毒
  • using the "fix and restore windows 8 option" 使用“修复并还原Windows 8选项”

My system: 我的系统:

  • Windows 8 :/ Windows 8:/
  • java 7 latest 64 bit Update 13 Java 7最新64位更新13
  • java SE dev kit 7 Update 13 (was happening before I installed it) Java SE开发者工具包7 Update 13(在安装前发生)
  • 16 gigs of ram 16公羊
  • I can give you more info if need be. 如果需要,我可以给您更多信息。

Jars work on my other computer just fine. Jar可以在我的另一台计算机上正常工作。

edit: Still no luck. 编辑:仍然没有运气。 8 out of 8 places I asked for help I got down voted. 在我寻求帮助的8个地方中,有8个投票失败。 Looks like im not developing anymore.... Thanks. 看来即时通讯不再发展了。

嗯,此消息存在一个已知的错误 ,解决方法是通过将其添加为VM参数来禁用d3d加速:-Dsun.java2d.d3d = false

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

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