Tuesday, July 17, 2007

Nutch

Trying to use Nutch on my own laptop. Faced many problems just running it, mainly due to the unfamiliarity with Unix and Cygwin.

Problem 1: JAVA_HOME not set

Go to Windows System -> Environment to add a new Variable 'JAVA_HOME' with the path as the java folder. Restart Cygwin and change will be detected

Problem 2: NoClassDefFoundException

Problem with the spaces of folders. Instead of 'Nutch 0.9', I changed to Nutch-0.9.
Also in environment, add Variable CLASSPATH with path to the jars of the Nutch folder.


Google for an entire day just to fix this. This post is mainly to remind myself on how to fix the problem again should I ran into it.

No comments: