Hi Prasanna, I would like to note for the record that I do not know of anyone running 2.X series within windows environment so I am keen to help you get this working. Once you build the project source, please make sure that the generated .job file is on your classpath along with the other dependencies. If you intend to run Nutch on your local machine then you need to make sure that everything in $NUTCH_HOME/runtime/local/lib and all plugins are on the classpath along with all conffiguration.. basically everything in runtime/local I take it you have cygwin set up? Lewis
On Thu, Mar 14, 2013 at 3:17 PM, pkrish80 <[email protected]> wrote: > Hello All, > > I have installed apache nutch 2.1 in windows7 and am using CYGWIN. > > I have the following environment variables set: > > JAVA_HOME : C:\Java\jdk1.7.0_07 > NUTCH_HOME: C:\apache-nutch-2.1-src\apache-nutch-2.1 > NUTCH_JAVA_HOME: C:\Java\jdk1.7.0_07 > > When I execute the command, "./bin/nutch crawl urls -depth 3 -topN 5" I get > the error below: > > Error: Could not find or load main class org.apache.nutch.crawl.Crawler > > Is there a permissions error here? Should I set my environment variables > differently? Suggestions please? > > Thanks, > Prasanna > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-resolve-Error-Could-not-find-or-load-main-class-org-apache-nutch-crawl-Crawler-in-Windows-7-tp4047518.html > Sent from the Nutch - User mailing list archive at Nabble.com. > -- *Lewis*

