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

后端 未结 17 556
温柔的废话
温柔的废话 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 understand this thread is little old, but I faced similar issue today while installing weblogic server and wanted to give my observation and resolution.

    If you have installed any oracle product or java, the first value in the environment variable PATH refers to "C:\ProgramData\Oracle\Java\javapath" which points to the JRE.

    To override this setting, I just added %JAVA_HOME%\bin; at the beginning of the path variable and after restarting the command prompt, it started picking up JDK instead of JRE.

    I hope this helps someone who is looking for an alternative solution.

提交回复
热议问题