Search code examples
javaweblogic-10.x

Invalid java home in weblogic installation macos


The error appear when I select the jdk directory at the /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

enter image description here

And this is my java version.

enter image description here

So, I have to change the JAVA_HOME to 1.6.0.jdk or not? This version of weblogic installer is 10.3.6, I try to search and found that this weblogic version can support the java6, but why I cannot choose the 1.6.0.jdk directory? Or have something wrong?


Solution

  • To solve this problem I just run terminal with java -Dos.name="OS X" -Dspace.detection=false -jar <filename>.jar