Taken https://blog.csdn.net/btt2013/article/details/53145471
reproduce the error:
Solution:
1, with open startWebLogic.sh vi text editor, to locate line 164.
2, line 73 and then to the left to see the script, the operation of introducing the startWebLogic.sh $ {DOMAIN_HOME} /bin/setDomainEnv.sh before running the script. We are not saved from the vi editor.
3, we open setDomainEnv.sh script under startWebLogic.sh same path. JAVA_HOME to see how the definition.
1, View setDomainEnv.sh script inside JAVA_HOME path, use the vi command
vi setDomainEnv.sh
modify the JAVA_HOME:
When installing on weblogic, and set environment variables, create weblogic domain, the problem JAVA_HOME environment variables encountered a similar method to solve.