0% found this document useful (0 votes)
24 views

Installing or Reinstalling Java: $ORACLE - HOME/oracore/admin/initxml - SQL $ORACLE - HOME/rdbms/admin/catxsu - SQL

Java may already be installed in the database. To check, run a SQL query to count Java objects. If Java is installed, run scripts to replace it. Otherwise, run scripts located in the javavm directory to install Java, which may report errors that can be ignored.

Uploaded by

psaikrish
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Installing or Reinstalling Java: $ORACLE - HOME/oracore/admin/initxml - SQL $ORACLE - HOME/rdbms/admin/catxsu - SQL

Java may already be installed in the database. To check, run a SQL query to count Java objects. If Java is installed, run scripts to replace it. Otherwise, run scripts located in the javavm directory to install Java, which may report errors that can be ignored.

Uploaded by

psaikrish
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Installing or Reinstalling Java

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

* To determine whether Java has previously been loaded into


the database:
invoke SQL*Plus (sqlplus), connect as internal and run the
following:

SQL> select count(*) from all_objects where object_type like


'JAVA%';

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

You might also like