Start webloigc error, can not be found in the JRE directory /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64

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.
image

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
image
modify the JAVA_HOME:
image
When installing on weblogic, and set environment variables, create weblogic domain, the problem JAVA_HOME environment variables encountered a similar method to solve.

Guess you like

Origin blog.csdn.net/fei_yanzi/article/details/90409286