Robert >Create or replace procedure test_write >is >language java >name 'FileOutputDemo(java.lang.String)'; You have to problems here: - you reference the class instead of the method (main is not "recognized"...) - the parameter must be an array Therefore the following should work: Create or replace procedure test_write is language java name 'FileOutputDemo.main(java.lang.String[])'; HTH Chris -- //www.freelists.org/webpage/oracle-l