unable to load javafile into oracle 8i using loadjava uitility in Hp unix [message #366620] |
Thu, 02 March 2000 06:06 |
Gopal
Messages: 23 Registered: June 1999
|
Junior Member |
|
|
when i try to a load a simple uncompiled file called Dba.java having the same public class name Dba using loadjava i get error message:
The file content is:
import java.util.*;
public class Dba
{
public static void printHello ()
{
String prtString="Hello World";
System.out.println(prtString);
}
}
i gave the following command in Hp unix:
The location of loadjava uitility is
/opt/oracle/product/8.1.5/bin
loadjava -u scott/tiger -resolve /opt/oracle/product/8.1.5/bin/Dba.java
error message:
internal error: unanticipated exception: java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl
java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl
at oracle.aurora.server.tools.SourceFileReader.getScanner(SourceFileReader.java:52)
at oracle.aurora.server.tools.SourceFileReader.getFirstName(SourceFileReader.java:61)
at oracle.aurora.server.tools.LoadJava.processLoadAndCreate(LoadJava.java:1094)
at oracle.aurora.server.tools.LoadJava.process(LoadJava.java:1021)
at oracle.aurora.server.tools.LoadJavaMain.run(LoadJavaMain.java:193)
at oracle.aurora.server.tools.LoadJavaMain.main(LoadJavaMain.java:49)
loadjava: 1 errors
can anyone tell me ,how to solve this problem ?
very urgent please.
|
|
|
|
|
|