That seems to have worked.  However, there seemed to be quite a few
warnings and errors being printed out (it shows up from the start to about
1/3 of the output).  Is that normal?

Here is the output:
http://bin.cakephp.org/view/1407876703

On Wed, Mar 27, 2013 at 8:18 PM, Tejas Patil <[email protected]>wrote:

> Hey Yves,
>
> Try this and then run the ant script of nutch:
> export JAVA_HOME=/usr/java/jdk1.7.0_17/
> export PATH="$JAVA_HOME/bin:$PATH
>
> Let us know how it goes.
>
> Thanks,
> Tejas
>
> On Wed, Mar 27, 2013 at 4:12 PM, Yves S. Garret
> <[email protected]>wrote:
>
> > Hi, here's $PATH:
> >
> > $ echo $PATH
> >
> >
> /usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/foo/bin
> >
> > The only place that _seems_ to be linking to anything Java related is
> > /usr/bin.  I went there and found java & javac.  I ran the following
> > commands
> > and this is the output that I got:
> >
> > $ ./java -version
> > java version "1.7.0_17"
> > Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
> > Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode)
> >
> > $ ./javac -version
> > javac 1.7.0_17
> >
> > If I need to provide you with more info, please let me know.
> >
> > On Wed, Mar 27, 2013 at 7:01 PM, Tejas Patil <[email protected]
> > >wrote:
> >
> > > What is the value of PATH variable ?
> > >
> > > You can try setting this and then run the ant script:
> > > export JAVA_HOME=/usr/java/jdk1.7.0_17/
> > > export PATH="$PATH:$JAVA_HOME/bin"
> > >
> > > Note that if the current PATH value is referring to some java bin
> > > directory, you need to remove that and add the proper one as shown
> above.
> > > Else it will pick the old one.
> > >
> > >
> > > On Wed, Mar 27, 2013 at 3:37 PM, Yves S. Garret
> > > <[email protected]>wrote:
> > >
> > > > Forgot to add.  When I do echo $JAVA_HOME in bash, this is the output
> > > that
> > > > I get:
> > > > /usr/java/jdk1.7.0_17/bin
> > > >
> > > > No idea where /usr/java/jdk1.7.0_17/jre is coming into that picture.
> > > >
> > > > ---------- Forwarded message ----------
> > > > From: Yves S. Garret <[email protected]>
> > > > Date: Wed, Mar 27, 2013 at 6:08 PM
> > > > Subject: Build failed, unable to find a javac compiler? Error is
> > > confusing.
> > > > To: [email protected]
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I'm in the process of installing Nutch 2.1 with MySQL 5.6 in the
> > > back-end.
> > > > What I'm
> > > > encountering as an issue is that when following this tutorial
> > > > [ http://nlp.solutions.asia/?p=180 ], I get to the middle of the
> page
> > > > where
> > > > I have to
> > > > run "ant runtime", I get this error:
> > > >
> > > > http://bin.cakephp.org/view/1111435672
> > > >
> > > > If anybody is wondering, I'm running CentOS 6.4, my version of Java
> > (and
> > > > javac) is
> > > > 1.7.0_17 (from Oracle) and my version of Ant 1.7.1.
> > > >
> > > > What the heck am I doing wrong? :-/
> > > >
> > > > If you need more info, please feel free to ask and I'll provide it.
> > > >
> > >
> >
>

Reply via email to