How to include jar files to a Java Stored Procedure in Oracle?

Florian Müller picture Florian Müller · Feb 7, 2012 · Viewed 14.8k times · Source

I'm realizing a stored procedure and need now the ability to include jar files to my stored procedure, which do not belong to the standard deployment of the JRE. How can I do this? As I know wasn't it possible with Oracle 9 ...

Thanks for help!

Answer

Martin Klinke picture Martin Klinke · Feb 7, 2012

Use the loadjava tool, it accepts jar files, too: http://docs.oracle.com/cd/B19306_01/java.102/b14187/cheleven.htm#CACFHDJE

See also this related question (copied the above link from there): Setting classpath for a Java stored procedure in Oracle