Friday, 1 April 2016

Oracle Weblogic server 12c does not support java version less than 1.8 , so if there is older java version is specified in weblogic configuration file then it will throw JDK error, and it will not allow weblogic server to start.




So we have to make sure that correct JAVA_HOME values are specified in Weblogic domain env configuration file i.e setDomainEnv . Lets see how to check the configuration and correct it .

For Windows server -

1. Locate your setDomainEnv.cmd file

Go to bin folder like below -

C:\Installations\12C\weblogic\user_projects\domains\medrec\bin

2 . Open setDomainEnv.cmd file in notepad

Inside bin folder there must be a setDomainEnv.cmd file

3. check below attributes values

SUN_JAVA_HOME
JAVA_HOME
DEFAULT_SUN_JAVA_HOME

these values may be pointing to an older version e.g C:\PROGRA~1\Java\JDK17~1.0_7

4. Replace above three attributes value to java 1.8 version installed on your machine or with jdeveloper .

e.g

Replace C:\PROGRA~1\Java\JDK17~1.0_7 with C:\Installations\12C\Oracle\Middleware\Oracle_Home\oracle_common\jdk

For Linux server -

For linux environment settings we have to check for  setDomainEnv.sh file under bin folder .













0 comments:

Post a Comment