Oracle RMJVM
Version 20c

General Information
Library Note Morgan's Library Page Header
Which has the higher priority in your organization: Deploying a new database or securing the ones you already have? Looking for a website, and resources, dedicated solely to securing Oracle databases? Check out DBSecWorx.
Purpose Encapsulates undo logic for removing Java system objects during upgrade/downgrade and for full removal of Java to back out of the results of a failed initjvm.

The package contains private objects not exposed via the package specification.

Note: This page has been posted prior to the GA release of 20c. It will be completed once we have access to the release version.

Warning: The RUN and STRIP objects in this package are destructive. Executing them will totally destroy an Oracle Database. The examples here are for education purposes only and not intended to encourage anyone to believe they are safe to execute.
AUTHID CURRENT_USER
Dependencies
ACCESS$ IDL_UB1$ OBJ$
DBMS_ASSERT INITJVMAUX OBJAUTH$
DBMS_OUTPUT JAVA$JVM$STATUS SYN$
DBMS_SQL JAVA$RMJVM$AUX USER$
DEPENDENCY$ JAVA$RMJVM$AUX2 V$INSTANCE
ERROR$ JAVAOBJ$ X$KGLOB
IDL_CHAR$ JAVASNM$  
Documented No
First Available Not Known
Security Model Owned by SYS with no privileges granted
Source {ORACLE_HOME}/rdbms/admin/initjvma.sql
Subprograms
 
CHECK_FOR_RMJVM
Undocumented rmjvm.check_for_rmjvm;
exec rmjvm.check_for_rmjvm;

PL/SQL procedure successfully completed.
 
HEXTOCHAR
Converts HEX to its corresponding characters rmjvm.hextochar(x IN VARCHAR2) RETURN VARCHAR2;
SELECT rmjvm.hextochar('7D')
FROM dual;

RMJVM.HEXTOCHAR('4D4C4B')
--------------------------
MLK
 
RUN
Removes java related objects from the data dictionary rmjvm.run(remove_all IN BOOLEAN);
Dangerous: Do not execute
 
STRIP
Strips bytecode optimizations from non-system java classes, and sets the status of these classes to invalid (unresolved). rmjvm.strip;
Dangerous: Do not execute

Related Topics
Built-in Functions
Built-in Packages
DBMS_JAVA_DEV
DBMS_JAVA_DUMP
DBMS_JAVA_MISC
DBMS_JAVA_TEST
OJDS_NAMESPACE
What's New In 19c
What's New In 20c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2019 Daniel A. Morgan All Rights Reserved
  DBSecWorx