ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject RE: javac cannot find package even though it is present in the classpath
Date Sat, 16 Dec 2000 03:02:28 GMT
>    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 ?



| "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               |

View raw message