You have to set the variable JAVA_HOME, but also add the jdk bin folder to the PATH variable. (type in the console window you use to start the weblogic installer)
It should look similiar to this example:
set JAVA_HOME=C:\develop\jdk1.8.0_66
set path=C:\develop\jdk1.8.0_66\bin;%path%