mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burcu Buyukkagnici <bosk...@gmail.com>
Subject Re: How to set JAVA_HOME in cygwin
Date Sat, 21 Jan 2012 09:57:48 GMT
Hi,

I had the same error. It means JAVA home shows another place. You have to
check java using "which java" command. and then to correct it you need to
use "export" command to take correct settings. I did it on command line but
there is another explanation here:
http://hayesdavis.net/2008/06/14/running-hadoop-on-windows/

he conf/hadoop-env.sh file is a shell script that sets up various
environment variables that Hadoop needs to run. Open conf/hadoop-env.sh in
a text editor. Look for the line that starts with “#export JAVA_HOME”.
Change that line to something like the following:

export JAVA_HOME=c:\\Program\ Files\\Java\\jdk1.6.0_06

On Sat, Jan 21, 2012 at 11:35 AM, Sontakke, Sushilkumar <
Sushilkumar_Sontakke_CW@bmc.com> wrote:

> THANK you
>
> But I am getting few errors like
> /bin/java: No such file or directory/../bin/hadoop: line 297:
> /cygdrive/c/Java/jdk1.6.0_30
>
>
>
> -----Original Message-----
> From: VIGNESH PRAJAPATI [mailto:vignesh2066@gmail.com]
> Sent: Saturday, January 21, 2012 2:57 PM
> To: user@mahout.apache.org
> Subject: Re: How to set JAVA_HOME in cygwin
>
> ok than
>
> in cmd
> type as below
>
> set JAVA_HOME="C:\Java\jdk1.6.0_30"
>
>
>
>
>
> it will set your JAVA_HOME
>
> On Sat, Jan 21, 2012 at 2:40 PM, Sontakke, Sushilkumar <
> Sushilkumar_Sontakke_CW@bmc.com> wrote:
>
> > Windows XP
> > And my java is installed at C:\Java\jdk1.6.0_30
> >
> > -----Original Message-----
> > From: VIGNESH PRAJAPATI [mailto:vignesh2066@gmail.com]
> > Sent: Saturday, January 21, 2012 2:38 PM
> > To: user@mahout.apache.org
> > Subject: Re: How to set JAVA_HOME in cygwin
> >
> > Hello  Sontakke,
> >
> >   Can you say which Os your are using for development and what is path of
> > your JAVA SOURCE
> >
> > Thanks
> >
> >
> > On Sat, Jan 21, 2012 at 2:33 PM, Sontakke, Sushilkumar <
> > Sushilkumar_Sontakke_CW@bmc.com> wrote:
> >
> > > I am setting up mahout and hadoop using cygwin
> > > Please help me to set
> > > JAVA_HOME
> > > In cygwin
> > >
> >
> >
> >
> > --
> >
> > *Vignesh Prajapati*
> > Tel: 9427415949 |
> > vignesh2066@gmail.com | www.vipras.com.co.in
> > MYTK [image: Facebook] <https://www.facebook.com/vigs143> [image:
> > Twitter]<http://twitter.com/#%21/vigs143> [image:
> > LinkedIn] <http://www.linkedin.com/pub/vignesh-prajapati/37/756/46a>
> > [image:
> > about.me] <http://www.way4fun.tk><
> >
> http://r1.wisestamp.com/r/landing?promo=7&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_7
> > >
> >
> >
>
>
> --
>
> *Vignesh Prajapati*
> Tel: 9427415949 |
> vignesh2066@gmail.com | www.vipras.com.co.in
> MYTK [image: Facebook] <https://www.facebook.com/vigs143> [image:
> Twitter]<http://twitter.com/#%21/vigs143> [image:
> LinkedIn] <http://www.linkedin.com/pub/vignesh-prajapati/37/756/46a>
> [image:
> about.me] <http://www.way4fun.tk><
> http://r1.wisestamp.com/r/landing?promo=7&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_7
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message