"is not a valid java home jdk"

Asked

Viewed 1,784 times

0

I’m trying to install Weblogic 12c from a . jar.

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

This installer must 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 the JDK, but I did not find any solution to this problem.

  • Have you done this recently? Silly questions but, reset the PC ? Shows the print of your jdk installation of your JAVA_HOME set. Ever tried to set JAVA_HOME inside your script ? What it seems to me that there is a JAVA_HOME pointing to this directory.

  • @Douglas I found the answer. I had already done these steps ;)

1 answer

0


Reading the oracle documentation for Weblogic, o . jar must be installed from the folder \bin of the JDK.

C:\Program Files\Java\jdk1.7.0_15\bin\java -jar wls_121200.jar
  • Anyway, your "valid" JAVA_HOME is pointing to a correct place, if your PATH variable is right it should only work with java -jar.

  • @Douglas Because it is Douglas, all the ambient variables are pointing to the right place.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.