Installation of connect iq and eclipse xml

Hope I get this posted in the right spot. I tried to install eclipse on Win10 and the site won't download / install because my java is not the correct version. I had JDK/JRE 1.8 installed as noted but the site still doesn't see it. Does the JDK have to be installed in the same location? I used the default install.