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 -> Java Stored Procedures

Java Stored Procedures

From: Stan & Ponpun Nickel <sandp5_at_erols.com>
Date: Fri, 19 Nov 1999 15:25:49 -0800
Message-ID: <814blh$jh5$1@autumn.news.rcn.net>


I am using Oracle Lite on a Win98 computer and am trying to do an example of a java stored procedure as outlined in the Oracle Lite Java Developer's Guide. When I issue the SQL statement, alter table emp attach java source "Employee" in 'c:\orawin95\stan'; I get the following messages:

    OCA-30021 error preparing/executing SQL statement     [POL-8000] CR_VM_FAILED
The last error message supposedly refers to a failure to include javai.dll in the DOS PATH. I have set that variable and when I check it in a DOS window, the path is clearly correct. It happens that javai.dll is in several directories including NetZero's! But, the one I use is in c:\orawin95\JRE11\bin.

    My CLASSPATH seems to be OK in that I am able to use JAC (Java Access Classes) just fine and can run the demo programs from the command line without any problem.

    Question is: Is this an Oracle bug, or is there something else I need to set?

    Ideas?
Thanks.
Stan Nickel
stan_nickel_at_hotmail.com Received on Fri Nov 19 1999 - 17:25:49 CST

Original text of this message

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