Re: Loadjava hangs in RedHat Linux (URGENT)

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: Fri, 01 Aug 2003 13:44:50 +0000
Message-ID: <3175047.1059745490_at_dbforums.com>


Originally posted by aruneeshsalhotr
> Hi,
> I was able to load the class into Aurora JVM using TOAD, though
> loadjava behaviour is slightly unclear.
>
> I compiled the java file, and obtained the .class file.
> I used TOAD to load the class into into the JVM, and then I created
> the call spec.
> I am able to call the java procedure from anywhere now.
>
> But since I am using an evaluation copy of TOAD, so I would need to
> know how to get the loadjava started somehow.
>
>
> I set the classpath correctly as
> /u01/app/oracle/product/8.1.7/sqlj/lib/translator.zip:/u01/app/orac-
> le/product/8.1.7/sqlj/lib/runtime.zip:/usr/java/jdk1.3.1_02/jre/lib-
> /rt.jar:
>
> But still I am facing the problem that I cant load the class file into
> the JVM.
> Thanx and Regards
> Aruneesh
>
>
>
>
> Hi
> I even tried setting the JRECLASSPATH env variable to
>
> /u01/app/oracle/product/8.1.7/sqlj/lib/translator.zip:/u01/app/orac-
> le/product/8.1.7/sqlj/lib/runtime.zip:/usr/java/jdk1.3.1_02/jre/lib-
> /rt.jar:
>
>
> I also set the LD_ASSUME_KERNEL=2.4.18 (version of my linux kernel).
> Anyone has any leads on this.
>
> Thanx and Regards
> Aruneesh

ORACLE_HOME/bin/loadjava -user user/pwd_at_database -resolve <.class or jar file>

Just type loadjava on command line for help.

Alternately, if you have .java file, you could also compile and load it from sqlplus with,
CREATE OR REPLACE AND COMPILE JAVA SOURCE .... command.

Regards
/Rauf Sarwar

--
Posted via http://dbforums.com
Received on Fri Aug 01 2003 - 15:44:50 CEST

Original text of this message