You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2009/03/20 15:11:14 UTC

[Nutch Wiki] Update of "RunNutchInEclipse0.9" by BartoszGadzimski

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.

The following page has been changed by BartoszGadzimski:
http://wiki.apache.org/nutch/RunNutchInEclipse0%2e9

The comment on the change is:
added description for Windows users

------------------------------------------------------------------------------
   * Eclipse 3.3 - aka Europa
   * Java 1.6
   * Ubuntu (should work on most platforms though)
+  * Windows XP
  
  == Before you start ==
  
  Setting up Nutch to run into Eclipse can be tricky, and most of the time you are much faster if you edit Nutch in Eclipse but run the scripts from the command line (my 2 cents).
  However, it's very useful to be able to debug Nutch in Eclipse. But again you might be quicker by looking at the logs (logs/hadoop.log)...
  
+ 
  == Steps ==
+ 
+ 
+ === For Windows Users ===
+ 
+ If you are running Windows (tested on Windows XP) you must first install cygwin
+ 
+ Download cygwin from http://www.cygwin.com/setup.exe
+ 
+ Install cygwin and set PATH variable for it.
+ 
+ It's in control panel, system, advanced tab, environment variables and edit/add PATH
+ 
+ I have in PATH like:
+ 
+ C:\Sun\SDK\bin;C:\cygwin\bin
+ 
+ If you run "bash" in Start->RUN->cmd.exe it should work. 
+ 
+ Then you can follow rest of these steps
  
  === Install Nutch ===
   * Grab a fresh release of Nutch 0.9 - http://lucene.apache.org/nutch/version_control.html
   * Do not build Nutch now. Make sure you have no .project and .classpath files in the Nutch directory
+ 
  
  === Create a new java project in Eclipse ===
   * File > New > Project > Java project > click Next