Reference: The Easiest Way to Download 19.27 Release Update
Prerequisites
- AutoUpgrade JAR file (
autoupgrade.jar) - Java 11 (AutoUpgrade Patching requires Java 11, not Java 21)
- My Oracle Support (MOS) account credentials
Steps
1. Switch to Java 11
AutoUpgrade Patching requires Java 11:
export JAVA_HOME=$(/usr/libexec/java_home -v 11)
To make this permanent, add to ~/.zprofile:
vi ~/.zprofile
# Add the export command above
2. Create AutoUpgrade Configuration File
Create autoupgrade_keystore.cfg with your patch requirements:
vi autoupgrade_keystore.cfgglobal.global_log_dir=/Users/donghua/logs
global.keystore=/Users/donghua/autoupgrade_keystore
global.folder=/Users/donghua/Software_Repo/Oracle/19.29
patch1.platform=LINUX.X64
patch1.patch=RU:19.29,OPATCH,OJVM
global.global_log_dir=/Users/donghua/logs
global.keystore=/Users/donghua/autoupgrade_keystore
global.folder=/Users/donghua/Software_Repo/Oracle/19.29
patch1.platform=LINUX.X64
patch1.patch=RU:19.29,OPATCH,OJVM3. Set Up MOS Credentials
Initialize the keystore and store your MOS credentials:
java -jar autoupgrade.jar -config autoupgrade_keystore.cfg -patch -load_password
Follow the prompts:
- Create keystore password (enter twice)
- Type
add -user <your-email@youremail.com> - Enter your MOS password (twice)
- Type
save - Convert to auto-login:
YES - Type
exit
4. Create Download Directory
mkdir ~/Software_Repo/Oracle/19.29
5. Download Patches
java -jar autoupgrade.jar -config autoupgrade_keystore.cfg -patch -mode download
This will:
- Connect to MOS
- Search for specified patches
- Download to the configured directory
- Validate downloaded files
Example Output
Downloaded patches for 19.29:
p38291812_190000_Linux-x86-64.zip- DATABASE RELEASE UPDATE 19.29.0.0.0p38194382_190000_Linux-x86-64.zip- OJVM RELEASE UPDATE 19.29.0.0.0p6880880_190000_Linux-x86-64.zip- OPatch 12.2.0.1.48
All files are validated after download.