Hi
Sometimes we face "not a valid jdk" error while installing weblogic server
to resolve the above error use the following command and wait some time installation process will start shortly
"C:\Program Files\Java\jdk1.8.0_311\bin\javaw.exe" -jar F:\Software\servers\weblogic\fmw_12.1.3.0.0_wls.jar