Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Load Java classes
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