Installing or Reinstalling Java: $ORACLE - HOME/oracore/admin/initxml - SQL $ORACLE - HOME/rdbms/admin/catxsu - SQL
Installing or Reinstalling Java: $ORACLE - HOME/oracore/admin/initxml - SQL $ORACLE - HOME/rdbms/admin/catxsu - SQL
November 5, 2002
The following was taken from the 8.1.7.4 Oracle 8i Data Server Patch Set readme.
1. If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus),
connect as internal and run the following SQL DDL command:
SQL> create or replace java system
2 /
(Note that the / (slash) is important to ensure the execution of the command).
To ensure the correct installation of the XDK in the database run the following 2
scripts (Bug 2115227):
$ORACLE_HOME/oracore/admin/initxml.sql
$ORACLE_HOME/rdbms/admin/catxsu.sql
Java is installed if you get a non zero result returned from the query.
2. If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus),
connect as internal and run the following scripts which are located in
$ORACLE_HOME/javavm/:
load_jis.sql
jisja.sql
initjsp.sql
jspja.sql
Notes:
When running the $ORACLE_HOME/javavm/install/jisja.sql script the following
error may be reported and can be ignored:
call jis_exit_java_session(0)
ERROR at line 1:
ORA-29515: exit called from Java code with status 0
Bug 1459233 was filed against this problem which is fixed in 9i.
I:\Software\Fims\Java.doc