You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Pine Cone <pc...@yahoo.com> on 2006/01/01 18:14:47 UTC

Java problem

  Hi, 
   
  I am new, trying to use Nutch.  
  These are mine specs:
  Fedora 4 core
  Tomcat 5.5.12
  jdk1.5.0_06
  nutch-0.7 
   
  I am able to use Java with Tomcat but not with Nutch.  
  When I type bin/nutch  myFile.txt 
  I get this error:  bin/nutch:  line 188:  /usr/java/bin/java:  No 
such file or directory
                         bin/nutch:  line 188:  /usr/java/bin/java: 
cannot execute: No such file or 
                                                       directory 
   
  Thanks,



		
---------------------------------
Yahoo! for Good - Make a difference this year. 

Re: Java problem

Posted by Gal Nitzan <gn...@usa.net>.
It seems you do not have the java in your path? and probably JAVA_HOME 
is directing to non existent path...

try to type java - version first. if you get it. check your JAVA_HOME 
environment variable.

Do not use JDK1.5 nutch doesn;t work well with that. use 1.4.2

Gal

Pine Cone wrote:
>   Hi, 
>    
>   I am new, trying to use Nutch.  
>   These are mine specs:
>   Fedora 4 core
>   Tomcat 5.5.12
>   jdk1.5.0_06
>   nutch-0.7 
>    
>   I am able to use Java with Tomcat but not with Nutch.  
>   When I type bin/nutch  myFile.txt 
>   I get this error:  bin/nutch:  line 188:  /usr/java/bin/java:  No 
> such file or directory
>                          bin/nutch:  line 188:  /usr/java/bin/java: 
> cannot execute: No such file or 
>                                                        directory 
>    
>   Thanks,
>
>
>
> 		
> ---------------------------------
> Yahoo! for Good - Make a difference this year. 
>