Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 3304 invoked from network); 16 Dec 2000 03:05:10 -0000 Received: from mail.alphalink.com.au (203.24.205.7) by locus.apache.org with SMTP; 16 Dec 2000 03:05:10 -0000 Received: from donalgar (d87-ps3-mel.alphalink.com.au [202.161.108.215]) by mail.alphalink.com.au (8.9.3/8.9.3) with SMTP id OAA20417; Sat, 16 Dec 2000 14:05:07 +1100 Message-Id: <3.0.6.32.20001216140228.009ad100@latcs2.cs.latrobe.edu.au> X-Sender: pjdonald@latcs2.cs.latrobe.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sat, 16 Dec 2000 14:02:28 +1100 To: ant-user@jakarta.apache.org From: Peter Donald Subject: RE: javac cannot find package even though it is present in the classpath Cc: ant-user@jakarta.apache.org In-Reply-To: References: <20001215221453.62761.qmail@web11308.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I started working on ant about a week back. I use >ant on Win NT. I am facing a fairly strange problem. I >use javac to compile few jav files, out of which a >file imports the package 'oracle.jdbc.*'. This package >is contained in the file classes12_01.jar. Even though >classes12_01.jar is in the system Classpath it can't >seem to find it, and gives the following error - >. I am not sure if this is the cause but I noticed that you had duplicates of a lot of jars. This can cause problems with some VMs (usually 1.3+) so try removing all duplicates from classpath and retrying ? Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*