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