[java] A JRE or JDK must be available in order to run Eclipse. No JVM was found after searching the following locations

I had this problem and it was due to my windows machine playing up. I went into control panel -> system -> advanced - environment variables.

I edited the PATH variable (which was already correctly set up), changed NOTHING, clicked OK to come back out of the screens.

Then eclipse worked. No idea why, except because windows. Hopefully this may help someone.