这太疯狂了。Eclipse 一直崩溃,在我启动它几秒钟后就自动关闭了,我不知道为什么。我试过了这里看到的所有方法,但都无济于事。我太绝望了,我想回到 Windows 而不是使用 Linux。我需要 Eclipse 来工作。
我尝试删除 eclipse 并再次安装。我做了以下操作:
apt-get autoremove eclipse* --purge
我下载了最新的 eclipse LUNA 版本。我删除了我的工作区。我删除了该项目并重新创建了它。我更改了 eclipse.ini 并添加了 -debug 行,然后使用 ./eclipse -clean -clearPersistedState 从命令行运行 eclipse
仍然没有任何效果,它不断崩溃。
我确实认为它与 PHP PDT 插件有关,因为当我处理 PHP 中的某些类而不是仅仅处理 HTML 时它崩溃得更快。
问题是日志或输出中没有任何严重问题。我确实有一些小问题,附在这里。没有更好的日志吗?
我正在使用 Xubuntu 14.04、OracleJDK-8、带有 Java 和 PDT 的 Eclipse LUNA
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: /home/xxx/workspace2/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.5.0.20140606-0033.xml
org.eclipse.m2e.logback.configuration: Initializing logback
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
No bp log location saved, using default.
[000:000] Cpu: 6.60.3, x4, 2901Mhz, 15954MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.60.3, x4, 2901Mhz, 15954MB
[000:000] Computer model: Not available
[000:001] Warning(optionsfile.cc:30): Load: Could not open file, err=2
[000:001] No bp log location saved, using default.
[000:001] Cpu: 6.60.3, x4, 2901Mhz, 15954MB
[000:001] Computer model: Not available
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
[000:003] Warning(optionsfile.cc:30): Load: Could not open file, err=2
[000:003] No bp log location saved, using default.
[000:004] Cpu: 6.60.3, x4, 2901Mhz, 15954MB
[000:004] Computer model: Not available
我将非常感激您的帮助。