Ecplise startup issue

After a recent update of Java, I found out that my Eclipse stopped working.

After digging around for a while, the issue seems to be that it is starting Eclipse with JDK6, but it is loading JRE version 7.

Following the instruction here to change the -VM option to JDK7, and problem solved

http://wiki.eclipse.org/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
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\applications\jdk7.3\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m