I start Eclipse from a hard drive that contains the Windows installation, but the current boot is from another Windows 7 HDD. Normally it would start fine when I booted from that HDD, but now it says:
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:
F:\eclipse\jre\javaw.exejavaw.exein your current PATH.
How can I fix that?
I tried to make a new environment variable called JAVA_HOME pointing to the JRE and then adding ;%JAVA_HOME%\bin to the Path variable but had no luck.