I have 32 bit eclipse luna and 32 bit java on 64 bit windows 8.1. After accidentally removing 32 bit java my eclipse throws me error of java started but returned exit code -1 i have re installed that removed 32 bit java but still it showing me error.
here is eclipse.ini
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603-1326 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx512m
not a sane thingto run 32 bit apps on a 64 bit machine, unless you are forced to (only because the app doesn't exist in 64 bit).