Updating the JDK Location in an Existing Oracle Home
The getProperty.sh|cmd
script displays the value of a variable, such as JAVA_HOME, from the .globalEnv.properties file. The setProperty.sh|cmd
script is used to set the value of variables, such as OLD_JAVA_HOME or JAVA_HOME that contain the locations of old and new JDKs in the .globalEnv.properties file.
The
getProperty.sh|cmd
and setProperty.sh|cmd
scripts are located in the following location:
(UNIX) ORACLE_HOME/oui/bin
(Windows) ORACLE_HOME\oui\bin
Where, ORACLE_HOME is the directory that contains the products using the current version of the JDK, such as 1.8.0_191.
To update the JDK location in the .globalEnv.properties file: