我是新手,想尝试Android应用开发.所以我从https://developer.android.com下载了SDK和ADT .在此之后,我意识到我需要一个Java的东西,所以我从Java站点下载了jdk1.8.0_20.我的ecplise文件夹位于c:\ Android \("Android"是我为此目的创建的文件夹)安装的Java i位于C:\ Program Files(x86)\ Java中.我的系统也运行在64位Windows 7操作系统上.现在,当我运行eclipse时,我得到以下错误.
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m
-jar C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Android\eclipse\\plugins\org.eclipse.platform_4.2.2.v201302041200\splash.bmp
-launcher C:\Android\eclipse\eclipse.exe
-name Eclipse
--launcher.labrary C:\Android\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll
-startup C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exit data f24_5c
-
-launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product com.android.ide.eclipse.adt.package.adtproduct
-
-launcher.XXMaxPermSize256m
-
-launcher.defaultAction openfile
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m
-jar C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Run Code Online (Sandbox Code Playgroud)
在所有这些之后,我检查了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.XXMaxPermSize256m
-
-launcher.defaultAction openFile
-vmargs …Run Code Online (Sandbox Code Playgroud)