Oracle RMJVM
Version 21c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
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.

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 21c
What's New In 23c

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-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx