Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to import custom java jar/class into oracle to be used in java proc ?

336471Jan 26 2007 — edited Feb 4 2007
Hi

I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.

I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.

But, my question is that I do have a other external jar/class file that need to be imported into this java program.

example
-------
raise_sal.java
--------------
import java.util.*;
import oracle.sql.*;

<<reference other java programs >>
import cmpmsgsvc.xxxx.* ;
import cmpmsgsvc.yyyy.* ;
import cmpmsgsvc.zzzz.* ;
...........
............
............
-----------

how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
compilation errros on raise_sal.java program ??


what are the steps to import/compile and validate to do this?

thanks for your help in advance.

Thanks
rrb.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2007
Added on Jan 26 2007
5 comments
7,988 views