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 -> Re: Load Java classes

Re: Load Java classes

From: <kuassi.mensah_at_gmail.com>
Date: 6 Dec 2006 08:53:33 -0800
Message-ID: <1165424012.823405.172390@j72g2000cwa.googlegroups.com>


I don't think it has to do with granting system permission; you should NEVER use the system account for development purposes. Use scott/tiger or any other non-system schema, then find ou if the classes have been indeed loaded before trying to use these,

Kuassi

devjnr_at_gmail.com wrote:
> 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:53:33 CST

Original text of this message

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