Android更新后,Eclipse Eclipse不工作如何修复? [英] Android Eclipse not working after Java Update how do I fix it?
问题描述
-vm
C:/ Program Files / Java / jdk1.7.0_40 / bin / javaw.exe
进入eclipse.ini文件,但同样的情况并不适用于android eclipse中的一个。
提前感谢!
.ini文件为Android Eclipse(这一切都在一行,我采取了我最初添加的-vm行): -
-startup
/ pre>
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。电子书
-vmargs
-Dosgi.requiredJavaVersion = 1.6
-XX:MaxPermSize = 256m
-Xms512m
-Xmx1024m
.ini文件为普通的Eclipse(这包括我添加的-vm行): -
-startup
plugins / org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins / org。 eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/ Program Files / Java / jdk1.7.0_40 / bin / javaw.exe
-vmargs
-Dosgi.requiredJavaVersion = 1.7
-Xms40m
-Xmx512m
解决方案您是否将其更改为您的日食版本1.7的.ini?
-vmargs
-Dosgi.requiredJavaVersion = 1.6
我查看的每个链接都是32位和64位的java。您发布的屏幕截图读取了adt-bundle-windows-x86_64。在下一行-os win32和后续库路径中显示了一些具有32位窗口的功能。
检查您的cpu,adt版本和java版本是否相同的位大小,在这种情况下为64位。
此外,请确保所有路径都指向您的jdk目录,而不是您的jre目录。
after Updating Java a couple days ago to version 8 update 31, I couldn't get my Android Eclipse to work. Every time I open it this comes up http://gyazo.com/12547a9085db3cfd8da258eac1e86c12. I've tried many other questions which usually refer to just Eclipse, and this particular error, which helped me get regular Eclipse working by typing in:
-vm C:/Program Files/Java/jdk1.7.0_40/bin/javaw.exe
Into the eclipse.ini file, but the same didn't work for the one in android eclipse. Thanks in advance!
.ini file for Android Eclipse(This was all in one line, and I took the -vm line out that I initially added in):-
-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
.ini file for normal Eclipse(this includes the -vm line I added in):-
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.standard.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vm C:/Program Files/Java/jdk1.7.0_40/bin/javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.7 -Xms40m -Xmx512m
解决方案Did you change this to version 1.7 in your adt eclipse.ini? -vmargs -Dosgi.requiredJavaVersion=1.6
Every link I view on the issue addresses 32 bit and 64 bit java. The screen shot that you posted reads adt-bundle-windows-x86_64. On the next line -os win32 and in subsequent library paths shows some capatibility efforts with 32 bit windows.
Check your cpu, adt version and java version for the same bit size, in this case 64 bit.
Also, make sure all your paths are pointing to your jdk directory and not your jre directory.
这篇关于Android更新后,Eclipse Eclipse不工作如何修复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!