|
-
I need help on jow to execute a simple java procedure.
BY THE WAY, IM NEW IN THE JAVA WORLD...
check this out...
SQL> create or replace and compile java source named "first"
2 as
3 public class first
4 {
5 public static void main (String args[])
6 {
7 System.out.println("This is my fisrt jsp!!!");
8 }
9 }
10 /
Java created.
SQL> create or replace procedure proc_first as language java name 'Premier.main';
2 /
Warning: Procedure created with compilation errors.
SQL> show err;
Errors for PROCEDURE PROC_FIRST:
LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 PL/SQL: Compilation unit analysis terminated
1/39 PLS-00311: the declaration of "Premier.main" is incomplete or
malformed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|