SELECT version, status FROM dba_registry WHERE comp_id='JAVAVM';
--status为'REMOVED'说明JAVAVM组件已卸载,查询无返回信息,说明未安装JAVAVM组件。

卸载

SQL> shutdown immediate
SQL> startup mount
SQL> alter system set "_system_trig_enabled" = false scope=memory;
SQL> alter system enable restricted session;
SQL> alter database open;
SQL> @?/javavm/install/rmjvm.sql
SQL> shutdown immediate
SQL> startup

安装

SQL> spool javavm_inst.log;
SQL> set echo on
SQL> shutdown immediate;
SQL> startup mount
SQL> alter system set "_system_trig_enabled" = false scope=memory;
SQL> alter database open;
SQL> @?/javavm/install/initjvm.sql
SQL> shutdown immediate
SQL> set echo off
SQL> spool off
SQL> startup

Related Posts