这是我从捆绑包中获得的 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.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
// I add this in
-vm
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.1-543035
以及当我尝试执行文件时的错误提示:
Java was started but returned exit code=13
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.1-543035
-XX:MaxPermSize=256m
-jar C:\Program Files
(x86)\adt-bundle-windows-x86_64\eclipe\\plugins/org.eclipse.equinox.launcher_
1.3.0v21020522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Program Files (x86)\adt-bundle-windows-x86_64\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Program Files
(x86)\adt-bundle-windows-x86_64\eclipse\\plugins/org.eclipse.equniox.launcher.
win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup C:\Program Files
(x86)\adt-bundle-windows-x86_64\eclipse\\plugins/org.eclipse.equniox.launcher_
1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 1dd0_5c
-product com.android.ide.eclipse.adt.package.product
-vm C:\Program Files (x86)\Java\jre\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.1-543035
-XX:MaxPermSize=256m
-jar C:\Program Files
(x86)\at-bundle-windows-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_
1.3.0.v20120522-1813.jar
谁能帮我找出我的错误?是目录问题,还是我需要另一个操作系统来运行 eclipse?顺便说一句,我得到了这条线
-vm
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
谢谢。