Why is itshowing your JDK 'C:\Program Files\Java\jre7' is not a valid JDK while installing WebLogic server?

后端 未结 17 575
温柔的废话
温柔的废话 2021-01-31 08:24

\"Error

It\'s showing -

This installer must be executed using a Java Development Kit (JDK)
         


        
17条回答
  •  心在旅途
    2021-01-31 09:12

    I had same problem. I had JAVA_HOME variable set to 'C:\Program Files\Java\jdk1.8.0_25' and Path variable set to 'C:\Program Files\Java\jdk1.8.0_25\bin'. Even after checking, it was giving me the same error. But then I changed order of the Path variable. I set it to "C:\Program Files\Java\jdk1.8.0_25\bin;C:\ProgramData\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" keeping path of jdk bin at the first place. It solved the issue.

提交回复
热议问题