Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Java Compiling error.

Java Compiling error.

From: Craig Burtenshaw <crb_at_amsa.gov.au>
Date: Thu, 22 Jul 2004 14:24:25 +1000
Message-ID: <40ff41bd$0$51361$c30e37c6@lon-reader.news.telstra.net>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US