Am using Eclipse and did ran into the following notice after an update of Java.
Code:
A Java Runtime Environment(JRE) or Java Development Kit(JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: C:\Program Files\Java\jre1.8.0_66\bin
The thing here is that java is updating the files on the system and removing old files but Eclipse will still point to that old folder and therefore it's causing a problem.
so take a look at eclipse.ini, in my case:
- *users*/*user*/eclipse/*version*/eclipse/eclipse.ini
there you will see something like
Code:
-vm
C:\Program Files\Java\jre1.8.0_66\bin
when you go to that mentioned folder there will be a big chance that it's empty and that's ok as java did create a new folder. check the folder: c:/Program Files/Java and see if there is a folder with an increased number if so replace that old version number with the new one in eclipse.ini
--> in my case there was a new folder called "jre1.8.0_71"
So filled something like this
Code:
-vm
C:\Program Files\Java\jre1.8.0_71\bin
tried to load Eclipse and voilá it's working again.