This note describes the process used to create a Oracle Database 19c software Gold Image and using that Gold Image to clone a separate Oracle 19c database software home on a Windows platform.
The following issues were encountered in creating the Gold Image as well as when running setup.exe from the cloned software.
[FATAL] [INS-32700] The gold image creation failed. Check the install log C:\Program Files\Oracle\Inventory\logs\InstallActions2023-09-27_08-41-05AM for more details.
Setup failed.
Java Runtime Environment EXCEPTION_ACCESS_VIOLATION error when running setup.exe.

Creating the Gold Image
D:\19c_Gold_Image>set TEMP=D:\TEMP
D:\19c_Gold_Image>d:\app\oracle\product\19.3.0\dbhome_2\setup.bat -createGoldImage -destinationLocation d:\19c_Gold_Image -silent
Launching Oracle Database Setup Wizard…
Successfully Setup Software.
Gold Image location: d:\19c_Gold_Image\db_home_2023-09-27_09-25-42AM.zip

Cloning the 19c software
Copy the Gold Image zip file to the new Oracle Home location where the 19c database software will be cloned.
Unzip the file in the new Oracle Home location.


Execute the setup.exe command as shown below.
D:\app\oracle\product\19.3.0\dbhome_2>setup.exe -J-XX:CompileCommand=exclude,java/lang/StringBuilder.append -J-XX:CompileCommand=exclude,java/lang/AbstractStringBuilder.append
Launching Oracle Database Setup Wizard…









Verify the cloned Oracle Home includes the patches applied on the source Oracle Home
D:\app\oracle\product\19.3.0\dbhome_2>cd OPatch
D:\app\oracle\product\19.3.0\dbhome_2\OPatch>opatch lspatches
35354406;OJVM RELEASE UPDATE: 19.20.0.0.230718 (35354406)
35348034;Windows Database Bundle Patch : 19.20.0.0.230718 (35348034)