Christine C Moran wrote:

Hi,
do you may mix the shell script of a older version and the jar of a newer version?
There was a package name refactoring when nutch moved to apache.
May this is a possible problem.
I suggest to download the latest release or a nightly build distribution.


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.
I personal have only setted my Java home and let the nutch shell script set all the environment variables, it make sense only use these variables if you for example plan to use a custom java version to start nutch.
HTH
Stefan

Reply via email to