Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Load Java classes

Load Java classes

From: <devjnr_at_gmail.com>
Date: 6 Dec 2006 08:16:40 -0800
Message-ID: <1165421800.256636.125150@f1g2000cwa.googlegroups.com>


I imported some java classes this way:

loadjava -user system/oracle_at_ORCL "C:\lib\core.jar"

..

I'm trying to write a java source that use these classes but when I try to compile I obtain this error:

Error: cannot access core.class1

I googled a little and I found that perhaps I also should give permissions...

exec dbms_java.grant_permission('SYSTEM', 'core', '*', 'read,write');

When I try to run this code:

ORA-29532: Java call terminated by uncaught Java exception: java.lang.ClassNotFoundException: core

It is strange behavior, isn't it?

Any help appreciated. Received on Wed Dec 06 2006 - 10:16:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US