I had a similar problem, as our Java and JDKs are constantly updated by our support team, including removing old JDKs. They take care of PATH for us, but then the JRE that Eclipse was used to "see" disappeared. So, what works best for me is to change the label "target":
"C:\Program Files\Eclipse\Eclipse IDE for Java EE Developers\eclipse.exe"
to
"C:\Program Files\Eclipse\Eclipse IDE for Java EE Developers\eclipse.exe" -vm "C:\Program Files\Java\<jdkver>\jre\bin\javaw.exe"
This will point Eclipse to the JRE in the JDK that you want to use, and then you can update this shortcut when your JDK updates.
This is on 64-bit Windows, obviously.
source share