On Mon, Apr 18, 2011 at 11:34 AM, modemide <modem...@gmail.com> wrote: > I'm getting many "cannot find symbol" errors. I've been searching > everywhere and have given up. There has to be a good (and very > simple) reason for why this is happening. > > My setup is as follows: > hadoop installed to - /usr/local/hadoop > > Test folder (to compile word count) - /usr/local/hadoop/test/WordCount.java > > > > I am finally at the point where I tried running this command (out of > desperation): > javac -verbose -classpath > "/usr/local/hadoop/*":"/usr/local/hadoop/lib/*" Wordcount.java
The -classpath option does not look right. Each class path entry needs to end with .jar or .zip or a directory that has .class files. -- http://khangaonkar.blogspot.com/