Wednesday, February 9, 2011

-Dosgi.requiredJavaVersion=1.5 Error

---------------------------
Eclipse
---------------------------
JVM terminated. Exit code=-1
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-os win32
-ws win32
-arch x86
-showsplash C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\\plugins\org.eclipse.platform_3.3.200.v200906111540\splash.bmp
-launcher C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-product org.eclipse.epp.package.jee.product
-vm C:\Program Files\Java\jdk1.6.0_23\bin\..\jre\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
---------------------------
OK
---------------------------

I started getting this error message today morning and after few hours of googling I found how to fix this.

For some reason, Eclipse is using 32-Bit version of the Java Run time and when it kicks up, it's looking for the 32-Bit version of the Runtime. To fix this you need to download 32-bit version of the SDK from here . Then make sure Path variable in the Envirnment variable set to the 32 bit path as well.

Hope this will save someones day.

No comments:

Post a Comment