Verify and Fix Environment Variables
Check values and correct them, if required, as mentioned below:
Parent topic: Upgrade the Oracle Clinical Front End
Check Values
To check variable values:
- Open a DOS prompt window.
- Run:
middleware_home\user_projects\domains\OPADomain\bin\setDomainEnv.cmdFor example:
c:\oracle\middleware\user_projects\domains\OPADomain\bin\setDomainEnv.cmd
The script should run with no errors.
- Inspect the value of JAVA_HOME:
- At the DOS command prompt, type:
set JAVA_HOME. You should see the location where you installed JDK following instructions in Download Oracle Java Development Kit. - Enter:
dir %java_home%. You should see the directory specified as your JAVA_HOME containing a file called src.zip and four subdirectories: jre, lib, bin, and include.If you do not see these things, you will need to add them as directed in Correct Values.
If JAVA_HOME contains any spaces or if any of the directories in its path are greater than 8 characters, you will need to correct them as directed in Correct Values.
- At the DOS command prompt, type:
- Inspect the value of JAVA_VM. At the command prompt, enter:
set JAVA_VM. You should see something likeJAVA_VM=-server. If not, correct as directed in Correct Values.
Parent topic: Verify and Fix Environment Variables
Correct Values
To correct any of the above problems:
Parent topic: Verify and Fix Environment Variables