What happens if you recompile with -verbose? Can you paste the output here? - Aaron
On Sat, Jul 18, 2009 at 9:34 PM, Richard Bowser <[email protected]>wrote: > Sorry if I confused anyone, folks. > > My problem *description* differed from the example. My *source* code was > identical. > > Here's my exact source code: > import org.apache.hadoop.fs.Path; > import org.apache.hadoop.conf.*; > import org.apache.hadoop.io.*; > import org.apache.hadoop.mapred.*; > import org.apache.hadoop.util.*; > > Here are the exact compiler error messages: > WordCount.java:6: package org.apache.hadoop.fs does not exist > WordCount.java:7: package org.apache.hadoop.conf does not exist > WordCount.java:8: package org.apache.hadoop.io does not exist > WordCount.java:9: package org.apache.hadoop.mapred does not exist > WordCount.java:10: package org.apache.hadoop.util does not exist > > I must apologize for trying to use "poetic licence" in my description. > Nevertheless, I see a mystery here. My failure symptoms strongly suggest > that Javac cannot find the packages in its classpath. But my classpath > invocation is good: "javac -classpath ~/hadoop-0.18.3-core.jar -d > wordcount_classes WordCount.java" (This too I have an exact record of.) > > I'm at my wits end. I KNOW the files I'm using are GOOD, especially my > hadoop-0.18.3-core.jar. > > I could sure use some ideas of whatever may be wrong here! > -Rich B. >
