|
|
Re: How to write a Java code in oracle [message #382341 is a reply to message #382336] |
Thu, 22 January 2009 00:13 |
wmgonzalbo
Messages: 98 Registered: November 2008
|
Member |
|
|
Not clear, but you mean like this..?
CREATE AND RESOLVE JAVA SOURCE NAMED "MyClass" AS
import java.io.*;
import java.sql.*;
public class MyClass
{
public static void getList(String directory)
throws SQLException
{
File path = new File( directory );
.
.
.
}
}
before anything else be sure you won't get this error message..
ORA-29538: Java not installed
Regards,
Wilbert
[Updated on: Thu, 22 January 2009 00:14] Report message to a moderator
|
|
|
|
|
|
|