hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hari Sreekumar <hsreeku...@clickable.com>
Subject Re: Setting up eclipse environment on windows
Date Sat, 26 Feb 2011 17:05:12 GMT
I have cygwin. But how can the unix shell commands run in windows through
eclipse? I tried running eclipse through cygwin and then building. In this
case, it does not recognize the path:

C:\Users\Hari\workspace\hadoop-common-trunk\build.xml:332: Unable to find a
javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

So will I have to change the paths to cygwin paths?


On Sat, Feb 26, 2011 at 9:58 PM, Harsh J <qwertymaniac@gmail.com> wrote:

> Hello,
> On Sat, Feb 26, 2011 at 9:48 PM, Hari Sreekumar
> <hsreekumar@clickable.com> wrote:
> > Is it possible to set up hadoop in eclipse in windows only for browsing
> code
> > without using cygwin? I see some unix specific commands being executed in
> > the eclipse target of the build.xml file (tr and sh commands are being
> > called at some points) . Can I just comment them out and will it still
> work
> > fine?
> You can disable the builder for the project, perhaps. You may lose
> some of Eclipse's functionality without the project building, but I
> guess its good enough for simply jumping around in the source code.
> Try it out.
> There was also some work done not long ago for removing the entire
> Cygwin dependency from Hadoop for Windows. That work is at
> HADOOP-6767.
> Installing base Cygwin (bash + coreutils + a few other programs)
> doesn't sound like too much pain to me, though.
> --
> Harsh J
> www.harshj.com

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