Eclipse was running fine yesterday (and has been since I installed it about a year ago). Now all the sudden I\'m getting the following error on startup:
\"A
In my case the problem was that the path was enclosed in quotation marks ("):
-vm
"C:\Program Files\Java\jdk1.8.0_25\bin"
Removing them fixed the problem:
-vm
C:\Program Files\Java\jdk1.8.0_25\bin
In my case i had few things missing. I didnt install JDK and JRE of 64 bit while eclipse was of 64 bit version. Once done and JDK\bin path was set in PATH variable eclipse worked fine :)
The problem occurred on my machine due to Java version got updated(66 from 60). Pay special attention to it. As said above would like to add
In this file eclipse.ini, which is available where you have installed eclipse search for the line below -vm example C:\Program Files\Java\jre1.8.0_66\bin
now try to open this location, in case you are not able to open, that means there is some problem. In my case the version installed was jre1.8.0_60 . So there was a small difference which may not noticeable(66 instead of 60). Update it you will be able to open.
Via Puppet ATG installation Centos.
ERROR:
No Java virtual machine could be found from your PATH
SOLUTION:
Declear variable :
$java_home="/opt/oracle/product/java/jdk1.8.0_45/bin"
Add This "{$java_home}" Java Exec
require common, java
Exec {
path => [ "${java_home}", "/usr/bin", "/bin", "/usr/sbin", "${temp_directory}"]
}
Try downloading and installing 32-bit version of Java, and then setting the path :)
Open eclipse.ini
file besides eclipse.exe
paste
-vm
C:\Program Files\Java\jdk1.7.0_21\jre\bin\server\jvm.dll
//find it if you are having another JDK version.
on first line. And you are good to go.