By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,408 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,408 IT Pros & Developers. It's quick & easy.

Re: Loadjava hangs in RedHat Linux (URGENT)

P: n/a

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@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
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.