If you want to do that, I think the correct command should be (from inside your 
nutch dir):

java -cp build/classes:conf:[the list of all jars in nutch/lib separed by the 
character ':'] org.apache.nutch.crawl.Crawl<rest of args>

which is almost the same thing the bin/nutch script does.

Maybe should be easy if you use an IDE like Eclipse.


Il 10/11/2010 09:57, Jitendra ha scritto:
Hi,

I want to run nutch job jar locally. Is it possible to run it without
manifest file which defines main class. I tried

java -jar nutch-1.1.job org.apache.nutch.crawl.Crawl<rest of args>.

It throws up error
Failed to load Main-Class manifest attribute from
nutch-1.1.job

Any help/suggestion would be highly appreciated.


Reply via email to