Sorry to spam with so mundane an error; but I am really having problems
here.

For any attempted use of classes I know to be defined within the nutch-0.6
jar I am getting a NoClassDefFound error. It must be a simple classpath
error but I am having many troubles finding it.

NUTCH_JAVA_HOME is set to c:\j2sdk1.4.2_01 and my CLASSPATH is set to
C:\j2sdk1.4.2_01;C:\nutch-0.6\nutch-0.6.jar. I did this from within System
Properties->Advanced->Environment Variables. Similarly styled x_JAVA_HOME
variables set in the same place work just fine (for example CATALINA_HOME
for tomcat gives no trouble) so that is not what I suspect.

 I am not so used to setting classpaths manually on Windowstm.  What am I
doing wrong? I am using cygwin, but from what I read cygwin will translate
c:\blah to /cygdrive/c/blah just fine.

An example of the error:

bash-2.05b$./bin/nutch admin db -create
run java in c:\j2sdk1.4.2_01
Exception in thread "main" java.lang.NoClassDefFoundError:
net/nutch/tools/WebDBAdminTool

Any help would be appreciated.

Christine

Reply via email to