sorry for such a long question, But Please help with this problem.
I downloaded the adt bundle from the http://developer.android.com/sdk/index.html Followed the required steps to use it. i.e.
- unzip the folder
- set environment variables ...etc then start eclipse.
But as i start eclipce, it gives an error:
"Failed to create java virtual machine"
Searching google guided me, that i need to change the eclipse.ini file. but nothing helped.
here is the original 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.v20120913-144807
-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
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
when i add the line
-vm
C:\Program Files\Java\jdk1.7.0_05\jre\bin\javaw.exe
or
-vm
C:\Program Files\Java\jdk1.7.0_05\bin\javaw.exe
error changes to
"java started but returned exit code=1"
on adding
-vm
C:\Program Files\Java\jdk1.7.0_05\jre\bin\server\jvm.dll
it again gives the older error:
"Failed to create java virtual machine"