WebLogic Server 10.3.6.0 更改jdk版本

基础环境

OS:Red Hat Enterprise Linux Server release 7.3 (Maipo)
weblogic :name="WebLogic Server" version="10.3.6.0"

weblogic原来java 版本:
WebLogic Server 10.3.6.0 更改jdk版本_第1张图片

[weblogic@prod04 jvm]$ ./java-1.7.0-openjdk-1.7.0.111-2.6.7.8.el7.x86_64/jre/bin/java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (rhel-2.6.7.8.el7-x86_64 u111-b01)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)

更改java 版本:

[weblogic@prod04 bin]$ pwd
/u02/bea1036/user_projects/domains/base_domain/bin
[weblogic@prod04 bin]$ vi setDomainEnv.sh 

编辑 setDomainEnv.sh 文件,修改如下参数:

WebLogic Server 10.3.6.0 更改jdk版本_第2张图片

启动weblogic:

[weblogic@prod04 base_domain]$ ./startWebLogic.sh 
.
.
JAVA Memory arguments: -Xms512m -Xmx512m
.
WLS Start Mode=Development
.
CLASSPATH=/u02/bea1036/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u02/bea1036/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/lib/tools.jar:/u02/bea1036/wlserver_10.3/server/lib/weblogic_sp.jar:/u02/bea1036/wlserver_10.3/server/lib/weblogic.jar:/u02/bea1036/modules/features/weblogic.server.modules_10.3.6.0.jar:/u02/bea1036/wlserver_10.3/server/lib/webservices.jar:/u02/bea1036/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u02/bea1036/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u02/bea1036/wlserver_10.3/common/derby/lib/derbyclient.jar:/u02/bea1036/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/u02/bea1036/wlserver_10.3/server/bin:/u02/bea1036/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/jre/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111-2.6.7.8.el7.x86_64/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/weblogic/.local/bin:/home/weblogic/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
Starting WLS with line:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/bin/java    -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/u02/bea1036/wlserver_10.3/server/lib/weblogic.policy   -da -Dplatform.home=/u02/bea1036/wlserver_10.3 -Dwls.home=/u02/bea1036/wlserver_10.3/server -Dweblogic.home=/u02/bea1036/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u02/bea1036/patch_wls1036/profiles/default/sysext_manifest_classpath:/u02/bea1036/patch_ocp371/profiles/default/sysext_manifest_classpath  weblogic.Server
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

登陆控制台检查java 版本是否更新:

WebLogic Server 10.3.6.0 更改jdk版本_第3张图片

你可能感兴趣的:(java,runtime,ldap)