My Oracle Support Banner

How to Reload the JVM in 12.1.0.x (Doc ID 1612279.1)

Last updated on SEPTEMBER 19, 2023

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database - Enterprise Edition - Version to [Release 12.1]
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
This article details how to completely de-install and then re-install the JVM in as Oracle 12c non-multitenant database on UNIX and Windows.
There are similar notes for previous releases:
- How to Reload the JVM in 9.2.0.X
- How to Reload the JVM in 10.1.0.X and 10.2.0.X [Video]
- How to Reload the JVM in 11.1.0.x
- How to Reload the JVM in 11.2.0.x


Fully remove and re-load the Oracle JVM component within an existing non-multitenant database. Not appropriate when there is customer or non-Oracle maintained java code that should be retained.  For that case, "Safe repair/reinstall of the JVM Component in 11.2 and up (Doc ID 2314363.1)" should be used instead.

The actions detailed in this article are highly destructive and should not be attempted by novice users.  Additionally, the actions performed in this article make direct changes to the underlying data dictionary tables which should not be attempted unless under the guidance of Oracle Support Services (OSS).

NOTE: As with all destructive actions, Oracle Corporation strongly advises taking a FULL COLD BACKUP of the database before these actions are performed.

If you have any of the following optional database components installed, they may need to be re-installed after following the steps in this note in order to reload their java dependencies:

  • Oracle Multimedia (ORDSYS, ORDIM)
  • Oracle Spatial (MDSYS)
  • Oracle Warehouse Builder (OWBSYS)
  • OLAP 

1. Starting with Oracle Database 11g, the Data Mining Option is automatically installed and is tightly coupled with the database. The objects are no longer installed into the DMSYS schema but are owned by SYS and no longer have a dependency on the OJVM.
2. Starting with Oracle Database 12c, the Expression Filter (EXF) feature which has a dependency on the OJVM is de-supported and no longer installed with the database.

Additional Information:

Fully removing the JVM removes ALL user owned JAVA objects, such as APPS schema objects. If such objects are present one should consider using "Safe repair/reinstall of the JVM Component in 11.2 and up (Doc ID 2314363.1)" instead of the current document. Otherwise, an export dump of all user schemas containing JAVA objects should be taken if required, so that these objects can be reloaded once the JVM has been re-installed (please see the note detailed below): 

<Note:183825.1> How to Backup and Restore Java Classes and Privileges only

It is not necessary to install the XML Developers Kit (XDK) or the XML SQL Utility (XSU) into user schemas unless specifically required by your application, as these products were included in the JVM from 10.1.0.x.

JVM removal or reload shouldn't be performed when following errors occur 

1) ORA-29548
2) ORA-29516 java.lang.UnsatisfiedLinkError
3) ORA-00600:[26599][1][195] 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.