Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
How to install Oracle Database Examples 21c on an existing Oracle 21c installation

Hi,
Today I tried to install the Oracle Database Examples 21c.
I downloaded Oracle Database 21c Examples (21.3) for Microsoft Windows x64 (64-bit) from https://www.oracle.com/database/technologies/oracle21c-windows-downloads.html and unzipped it. When I run setup.exe (as administrator on a windows 11 x64 machine) You need to fill in the Oracle Base. That's a point to begin with.. I guess it was C:\Oracle21c. And the place you want your software to go.I opted for c:\Oracle21c\demo.
All good and well, but when I press the Next button I get the error: [INS-52001] Oracle Database Examples can only be installed into an existing Oracle Database Home of version 21.0.0.0.0.
Now that is weird. I have 21C = 21.3.0.0.0.
The download was for 21c, so why can't I install it ?
here's my folder structure:
Any help would be greatly appreciated.
Thanks,
Paul
Answers
-
-
That link points to a location I can't get to because I don't have a support subscription 😧
However, I managed to get the stuff installed:
In the adventures that followed I was met with plenty of other irritating issues. Like setup-scripts that don't do the job as advertised.
For instance this script: C:\Oracle21c\db_home\md\demo\examples\spatial_examples.sql
When I ran that in sql*plus it failed when the script was connecting to the scott/tiger account. The account I had already created earlier, but the script failed to connect to it, throwing an Invalid username/password error and left me with no database connection at all. Took me a while to figure out that the connect string must include "@orcl" behind it. (i.e. connect scott/[email protected]). Also the user scott had not enough privileges to do all the stuff needed, so I just granted all privileges to scott (not advisable, I know).
I also didn't know that the pdb container is automatically switched to when you connect to scott/[email protected] from CDB$ROOT, if scott is an schema in the pdb.
Then there were some errors in the insert statements: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE. I had to rebuild the indexes (using sqldeveloper)
Then I tried to install Oracle Spatial Studio. Another drama, with errors from the get-go: "java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7"
I gave up on fixing that. Had my belly full of Oracle for a while 😅
Thanks,
Paul
-
Hi, Paul!
How did you do that? I have the same problem with Oracle 19c (19.3)
I try to install examples but get error INS-52001
-
In my case it was a question of picking the correct locations for oracle base and the software installation.
(i.e. c:\oracle21c\ and c:\oracle21c\db_home See the locations in the opening post)
Good luck,
Paul
-
Hi, Paul!
Thank you!
in my c ase solution was
Bug 22579138
When installing the Oracle Database Examples software on an Oracle Database Client home (32-bit), you encounter the following error:
SEVERE: [FATAL] [INS-52001] Oracle Database Examples can only be installed into an existing Oracle Database Home of version 12.2.0.1.0.
Workaround:
Restart the Oracle Database Examples installer with the
-skipOHCOmpatibilityCheck
switch and proceed with the installation.