could to find or load main class org.apache.nutch.crawl.InjectorJob
I think you probably missed a step or two. Please confirm:
- Did you install Apache ANT and then navigate to the nutch folder and type in "ant"?
- Did you set the environment variables:
- NUTCH_JAVA_HOME: The java implementation to use. Overrides
JAVA_HOME
. - NUTCH_HEAPSIZE: The maximum amount of heap to use, in MB. Default is 1000.
- NUTCH_OPTS: Extra Java runtime options.Multiple options must be separated by white space.
- NUTCH_LOG_DIR: Log directory
(default: $NUTCH_HOME/logs)
- NUTCH_LOGFILE: Log file
(default: hadoop.log)
- NUTCH_CONF_DIR: Path(s) to configuration files
(default: $NUTCH_HOME/conf)
. Multiple paths must be separated by a colon ':'. - JAVA_HOME
- NUTCH_JAVA_HOME
- NUTCH_HOME
- NUTCH_JAVA_HOME: The java implementation to use. Overrides
If you install using "ant", then you will get a new folder in /nutch called /nutch/runtime/local
and this is from where you must actually run nutch.
Tip: Try reading this page.