Could someone one clarify why my Eclipse (http://developer.android.com/sdk/index.html) from ADT won\'t start?
Every time I\'m getting this error:
---
The solution can be found here
The eclipse ini file should be somewhat like this...
-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.v20120913-144807
-product
adtproduct
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files\Java\jdk1.8.0_25\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
this is a makeshift solution but may sort you out.
show hidden files, C:\ProgramData\Oracle\Java\javapath
you will find 3 shortcut links that are pointing to the wrong directories,
solution 1; go to C:\Program Files\Java\jre8\bin and copy out the files these links are pointing to and paste into the C:\ProgramData\Oracle\Java\javapath. Close and run again the eclipse, install updates
solution 2: go fix the environmental paths as some other solutions here suggest.
the first one worked for me
Remove the following entry from your "path" System Variable- "C:\ProgramData\Oracle\Java\javapath"
Go to Control panel -> System -> Environment variable -> System Variable -> Path (Edit)
then Remove first entry which would be "C:\ProgramData\Oracle\Java\javapath".
Then eclipse will start.
On Windows Environment Variables
, delete the value of Path variable that contains installed Java location. Then copy the installed Java to your Android-SDK folder.
You can copy the jre folder (example C:\Program Files\Java\jdk1.7.0_51\jre
) to
C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\
It solved my problem
Uninstall all Java SDK or JRE, specially if it´s the 8th version, so reinstall the 6th or 7th version, and check again. It worked for me :)
The error is because you have not specified the path to the javaw.exe file which is in jdk.