Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Java Compiling error.
Hi,
Running Oracle 8.1.7.4 on Solaris 8.
Trying to compile the final Java code for our application, most of the code
compiles, but
there are a few that get an error similar to the following:
JAVA SOURCE AUSTRAIN.com/amsa/Surpic/Surpic
On line: 0
com/amsa/Surpic/Surpic:22: Class com.amsa.Surpic.RoutePosition not found.
The first couple of lines from the code is as follows: CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "com/amsa/Surpic/Surpic" AS
PACKAGE com.amsa.Surpic;
import JAVA.util.*;
import com.amsa.Common.*;
The only thing that I can think of is to do with the CLASSPATH, which is
CLASSPATH=$ORACLE_HOME/rdbms/jlib/xsu12.jar:
$XDK_HOME/lib/xmlparserv2.jar:$XDK_HOME/lib/oraclexsql.jar:
$XDK_HOME/lib/classgen.jar:$ORACLE_HOME/jdbc/lib/classes12.zip:
$ORACLE_HOME/jdbc/lib/classes12_g.zip ; export CLASSPATH
Anyone able to give me an idea on what's going wrong?
Cheers
Craig Burtenshaw
Unix Systems/Oracle Database Administrator
Australian Maritime Safety Authority.
Received on Wed Jul 21 2004 - 23:24:25 CDT
![]() |
![]() |