## Friday, July 25, 2014

### Coding: Error running Eclipse with 32-bit Java

I get this error because I had Java 32-bit running and a 64-bit version was needed.
Java was started but returned exit code=13

C:\Program Files (x86)\Java\jre7\bin\javaw.exe

-Xms40m

-Xmx512m

-XX:MaxPermSize=256m

-jar C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar

-os win32

-ws win32

-arch x86_64

-showsplash C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins\org.eclipse.platform_4.2.0.v201206081400\splash.bmp

-launcher C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe

-name Eclipse

--launcher.library C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v201205221813\eclipse_1503.dll

-startup C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar

--launcher.overrideVmargs

-exitdata 1e30_5c

-vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe

-vmargs

-Xms40m

-Xmx512m

-XX:MaxPermSize=256m

-jar C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar

I had Eclipse and Java installed a long while back, and was pretty sure that Eclipse was working before distracted by other projects. Coming back to it to work with Google Apps, I received the above error. After some trial-and-error, I finally found a post that it may have to do with the Java version. I had to download the 64-bit version. I am not sure why I thought Eclipse had worked before. Whatever I had thought, the 64-bit version of Java fixed this above error.