"is not a jdk java home valid"

0

I'm trying to install weblogic 12c from a .jar.

I run the command java -jar wls_121200.jar , but the CMD returns me

  

This installer should be run using the Java Development Kit (JDK),       however, C: \ Program Files \ Java \ jre1.8.0_131 is not a valid Java Home JDK.       Oracle Universal Installer failure.

I already have jdk installed and JAVA_HOME pointing to JDK, but I did not find any solution to this problem.

    
asked by anonymous 12.05.2017 / 19:49

1 answer

0

By reading oracle documentation for weblogic , .jar should be installed from the \bin folder of the JDK.

C:\Program Files\Java\jdk1.7.0_15\bin\java -jar wls_121200.jar
    
12.05.2017 / 19:59