-
Hi,
Please help. I am getting following compilation Error when I compile the following progarm
on HP/UNIX Oracle8i system. The same program gets compiled ok on WINDOWS NT/ORACLE8i .
I am using the loadjava command to load my java program in oracle schema.
Below is the description of error
initialization complete
loading : RuntimeExecTodayVer2
creating : RuntimeExecTodayVer2
Error while creating RuntimeExecTodayVer2
ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
resolver :
Error while computing shortname of RuntimeExecTodayVer2
ORA-06550: line 1, column 13:
PLS-00201: identifier 'DBMS_JAVA.SHORTNAME' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
resolving: RuntimeExecTodayVer2
Error while resolving class RuntimeExecTodayVer2
ORA-04043: object RuntimeExecTodayVer2 does not exist
loadjava: 3 errors
-----------------------
My Javaprogram RuntimeExecTodayVer2.java
------------------------
import java.lang.*;
import java.io.*;
public class RuntimeExecTodayVer2{
public static void RunMe(String strexe,String strdjs) {
Runtime rt = Runtime.getRuntime();
String[] callAndArgs = { strexe, "-q", strdjs };
try {
Process child = rt.exec(callAndArgs);
child.waitFor();
}
catch(IOException e) {
}
catch(InterruptedException e)
}
}
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
|