weblogic安装过程报错指导

1、安装12.2.1.3.0weblogic

-bash-4.2$ java -jar fmw_12.2.1.3.0_wls.jar

Launcher log file is /tmp/OraInstall2019-07-17_09-22-46AM/launcher2019-07-17_09-22-46AM.log.
Extracting the installer . . . . . . . . . . . Done
The OpenJDK JVM is not supported on this platform.
The log is located here: /tmp/OraInstall2019-07-17_09-22-46AM/launcher2019-07-17_09-22-46AM.log.

修改java权限,cd /usr/java/bin;chmod 755 *;cd /usr/java/jre; chmod 755 *;

下图中1为修改后,2为修改前;

weblogic安装过程报错指导_第1张图片

2、create domain:

./config -mode=console

error:config.sh: line 103: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64/bin/java

cd /u01/weblogic/Oracle/Middleware/wlserver_10.3/common/bin

vim commEnv.sh

 JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre"

3、-bash-4.2$ ./startWebLogic.sh
error:The JRE was not found in directory /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64. (JAVA_HOME)
Please edit your environment and set the JAVA_HOME
variable to point to the root directory of your Java installation.

cd /u01/weblogic/Oracle/Middleware/user_projects/domains/weblogic/bin

vim setDomainEnv.sh

JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre"

 

 

 

你可能感兴趣的:(运维-其他)