Home » Developer & Programmer » JDeveloper, Java & XML » 9i, enable java
9i, enable java [message #91237] Tue, 11 June 2002 04:18 Go to next message
Monica
Messages: 37
Registered: February 2000
Member
I am trying to set up 9iAS (previously used OAS). I am having trouble setting up Portal.

I am connecting to a database on a Dedicated, Remote server. Database version is 8.1.7. I have no connection errors.

When running the setup for Portal, the configuration assistant stops with the error "Java option not enabled". Per instructions, I have enabled the java option through the Database Configuration Assistant on the remote database. Portal still says it is not enabled. The following sql statement returns 0 rows

select count (object_name) from all_objects
where object_name like 'JAVA%' and status
= 'VALID'

I searched this site for answers and came upon one solution that said to run the script INITJVM.SQL. Either I do not have this script or I am looking in the wrong place.

I would appreciate any help I can get.
Re: 9i, enable java [message #91245 is a reply to message #91237] Fri, 14 June 2002 16:05 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
the following sql should return some value, if JVM is configured in your database.
SQL> select count (object_name) from all_objects 
  2  where object_name like 'JAVA%' and status
  3  = 'VALID';

COUNT(OBJECT_NAME)
------------------
                34

1 row selected.

initjvm.sql can be found in $ORACLE_HOME/javavm/install directory.
you wont find it inside 9ias directory!
Re: 9i, enable java [message #91677 is a reply to message #91237] Wed, 08 January 2003 04:51 Go to previous message
som
Messages: 18
Registered: April 2002
Junior Member
you will find initjvm.sql in $ORACLE_HOME/javavm/install .
Previous Topic: how do i go about writing java code for oracle?
Next Topic: Multiple sql statement in 1 store procedure
Goto Forum:
  


Current Time: Thu Apr 25 01:42:14 CDT 2024