469,603 Members | 2,049 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

Re: Loadjava hangs in RedHat Linux (URGENT)


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
0 1377

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Cindy Lee | last post: by
2 posts views Thread by tim | last post: by
1 post views Thread by Michael A. Miller | last post: by
4 posts views Thread by D. Dante Lorenso | last post: by
3 posts views Thread by hrishy | last post: by
3 posts views Thread by Harold Pritchett | last post: by
11 posts views Thread by juyi520 | last post: by
reply views Thread by aruneeshsalhotr | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.