You may need to install Java directly from Oracle’s web site.
Then make sure your “JAVA_HOME” environment variable is set to the directory of the java installation. Make sure the bin folder in the JAVA_HOME directory is in the PATH.
You can confirm this if you go to the command prompt and type “java -version”.
I have tried both the auto-install and the manual install from the Oracle site with no luck.