Try this way if you are sure others are right (all jar files can be seen via classpath, especially the hadoop-0.7.1.jar) in bin/nutch (is bash script), the last line: exec "$JAVA" $JAVA_HEAP_MAX $NUTCH_OPTS -classpath "$CLASSPATH" $CLASS "$@" ==> Replace the $NUTCH_OPTS with your real windows path (including " for long path name, for example: -Dhadoop.log.dir="c:\Documents and Settings\franky\nutch\nutch-snapshot\build\nutch-0.9-dev\logs" - Dhadoop.log.file=hadoop.log).
Good luck. Frank On 12/1/06, Lourival Júnior <[EMAIL PROTECTED]> wrote:
Please I'm testing nutch 0.8.1 and I still get this error when trying to run a simple commad: Exception in thread "main" java.lang.NoClassDefFoundError What's wrong? I'm running in Windows 2000 with cygwin. On 7/28/06, Rick Carver <[EMAIL PROTECTED]> wrote: > > I get the same problem trying to use nutch 0.8, just > checked out. > > Exception in thread "main" > java.lang.NoClassDefFoundError > > This is on OS X 10.4.7. Older nutch runs fine. > > --- Lourival Júnior <[EMAIL PROTECTED]> wrote: > > > Hi all! > > I'm testing the nutch 0.8. But I get this error in > > this simple command: > > > > $ bin/nutch readdb > > java.lang.NoClassDefFoundError: and > > Exception in thread "main" > > > > I've set the NUTCH_JAVA_HOME variable, but I'm sure > > it is the root cause of > > this. > > > > What is occurring? > > > > -- > > Lourival Junior > > Universidade Federal do Pará > > Curso de Bacharelado em Sistemas de Informação > > http://www.ufpa.br/cbsi > > Msn: [EMAIL PROTECTED] > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- Lourival Junior Universidade Federal do Pará Curso de Bacharelado em Sistemas de Informação http://www.ufpa.br/cbsi Msn: [EMAIL PROTECTED]
-- http://spaces.msn.com/yishutonghua/
