title: How to install jvm in oracle?
body: <p>I am having trouble installing JVM in Oracle 9.2.0.6.0</p>
  
  <p>I have attempted installation by running <code>$ORACLE_HOME/javavm/install/initjvm.sql</code>. But it throws error</p>
  
  <pre><code>ORA-06512: 在"SYS.INITJVMAUX", line 15. 
  </code></pre>
  
  <p>When I look up the package body INITJVMAUX:</p>
  
  <pre><code>procedure exec (x varchar2) as
  begin
  dbms_output.put_line(substr(x, 1, 250));
  execute immediate x;  --line 15
  end;
  </code></pre>
  
  <p>and it's called by </p>
  
  <pre><code>-- Load all the Java classes
  begin if initjvmaux.startstep('CREATE_JAVA_SYSTEM') then
    initjvmaux.rollbacksetup;
    commit;
    initjvmaux.rollbackset;
    initjvmaux.exec('create or replace java system'); --error
    commit;
    initjvmaux.rollbackcleanup;
    initjvmaux.endstep;
  end if; end;
  /
  </code></pre>
  
  <p>I need some help in getting this installed. The version is Oracle 9i Enterprise Edition Release 9.2.0.6.0.</p>