When running eclipse, I get this error. "...no java virtual machine was found...". I have searched many threads and post and have set the JAVA_HOME system variable and virtual machine address in eclipse.ini as the posts said but still get that error. I'm really stuck and don't know what to do. please help me
Edit:
here is my eclipse.ini file"
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_25\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.0-531062
After changing the position of -vm line to the current position I get this new error:
"java was started but returned exit code=13
-Dosgi.requiredJavaVersion=1.6"