Hi!
I'm trying to create stored procedures on Oracle 8i /Windows 2000 Server.

I'm trying to test, if anything works, but it doesn't!

At last I tried this:

create or replace and compile java source named "mgtest1"
as
public class mgtest1
{
public static void test()
{
System.out.println("test");
}
};

but I recieved the following:

create or replace and compile java source named "mgtest1"
*
ERROR in line 1:
ORA-29536: Not correctly generated source: Encountered "create" at line 9,
column 1.

Was expecting one of:
<EOF>
"#sql" ...
"abstract" ...
"final" ...
"public" ...
"class" ...
"interface" ...
";" ...
"\\u001a" ...


Can anybody help???
Thanks a lot!