问题描述
我刚刚从 Windows 8 升级到了 Windows 10(64 位),而我之前的带有 ADT 插件的 Eclipse Juno 用于 Android 开发不再启动.
我能看到的只是鼠标指针显示某物正在加载几秒钟,然后什么也没有发生.
我尝试了什么
- 重命名
eclipse.ini
让它重新创建它:甚至没有重新创建它,所以重新命名它. - 在 Eclipse exe 上打开Windows 8"兼容性.没有变化.
- 尝试查看
workspaceDir/.metadata/.log
.没有关于此的条目.
以下是eclipse.ini
的内容:
这是我安装的 Java 版本:
C:Usersuser>java -versionjava版本1.8.0_51"Java(TM) SE 运行时环境(构建 1.8.0_51-b16)Java HotSpot(TM) 客户端 VM(构建 25.51-b03,混合模式)我被卡住了.由于我还没有发现其他人遇到同样的问题,我在哪里可以找到更多线索?
已解决.
刚刚完全卸载了 Java 和 JDK(还手动删除了C:ProgramFiles"中的Java"文件夹)并从 这里,现在一切又正常了.
I just upgraded from Windows 8 to Windows 10 (both 64-bit) and my previous Eclipse Juno with ADT-plugin for Android development is no longer starting.
All I can see is the mouse pointer showing that something is loading for a few seconds and then nothing else happens.
What I tried
- renamed
eclipse.ini
to let it recreate it: did not even recreate it, so renamed it back. - turned on "Windows 8" compatibility on Eclipse exe. No changes.
- tried to look at
workspaceDir/.metadata/.log
. No entries about this.
What follows are the contents of eclipse.ini
:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807 -product com.android.ide.eclipse.adt.package.adtproduct -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms512m -Xmx1024m
And this is the Java version I have installed:
C:Usersuser>java -version java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode)
I'm stuck. Where can I find more clues since I've still not found others experiencing the same issue?
Solved.
Just uninstalled completely Java and JDK (also manually deleted "Java" folder in "C:ProgramFiles") and downloaded and reinstalled the very same version of JDK Windows x64 from here, and everything works again now.
这篇关于刚刚安装了 Windows 10 和 Eclipse 不再启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!