I now understand your problem, I replicated it.
If you load the build.xml from eclipse, and go to the properties>build
path>Libraries, you'll find a JRE_LIB, remove that one and add JRE System
Library.
hope it solves it.

On 12/04/2008, Khalil Honsali <[EMAIL PROTECTED]> wrote:
>
> my guess it's an import problem..
> how about changing 2) to version 6 for compiler version?
>
> On 12/04/2008, krishna prasanna <[EMAIL PROTECTED]> wrote:
> >
> > Java version
> > java version "1.6.0_05"
> > Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> > Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
> >
> > Steps that i did :
> > 1) Opened a new java project in Eclipse. (From existing directory path).
> > 2) Modified Java compiler version as 5 in project properties in order
> > solve (source level 5 error).
> > 3) I found that package javax.net.SocketFactory is not resolved then i
> > downloaded that package and add to external jars.
> >
> > then i got error mentioned below.
> >
> >
> > Thanks & Regards,
> > Krishna
> >
> > ----- Original Message ----
> >
> > From: Khalil Honsali <[EMAIL PROTECTED]>
> > To: [email protected]
> >
> > Sent: Friday, 11 April, 2008 6:54:46 PM
> > Subject: Re: Does any one tried to build Hadoop..
> >
> > what is your java version? also please describe exactly what you've done
> >
> > On 11/04/2008, krishna prasanna <[EMAIL PROTECTED]> wrote:
> > >
> > > I Tried in both ways i am still i am getting some errors
> > >
> > > --- import org.apache.tools.ant.BuildException; (error: cannot be
> > > resolved..)
> > > --- public Socket createSocket() throws IOException {
> > > --- s = socketFactory.createSocket(); (error:  incorrect parameters)
> > >
> > > earlier it failed to resolve this package (javax.net.SocketFactory;)
> > then
> > > i add that jar file in project.
> > >
> > > Thanks & Regards,
> > > Krishna.
> > >
> > >
> > > ----- Original Message ----
> > > From: Jean-Daniel Cryans <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Sent: Thursday, 10 April, 2008 4:07:34 PM
> > > Subject: Re: Does any one tried to build Hadoop..
> > >
> > > At the root of the source and it's called build.xml
> > >
> > > Jean-Daniel
> > >
> > > 2008/4/9, Khalil Honsali <[EMAIL PROTECTED]>:
> > > >
> > > > Mr. Jean-Daniel,
> > > >
> > > > where is the ant script please?
> > > >
> > > >
> > > > On 10/04/2008, Jean-Daniel Cryans <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > The ANT script works well also.
> > > > >
> > > > > Jean-Daniel
> > > > >
> > > > > 2008/4/9, Khalil Honsali <[EMAIL PROTECTED]>:
> > > > >
> > > > > >
> > > > > > Hi,
> > > > > > With eclise it's easy, you just have to add it as a new project,
> > > make
> > > > > sure
> > > > > > you add all libraries in folder lib and should compile fine
> > > > > > There is also an eclipse plugin for running hadoop jobs directly
> > > from
> > > > > > eclipse on an installed hadoop .
> > > > > >
> > > > > >
> > > > > > On 10/04/2008, krishna prasanna <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Does any one tried to build Hadoop ?
> > > > > > >
> > > > > > > Thanks & Regards,
> > > > > > > Krishna.
> > > > > > >
> > > > > > >
> > > > > > >      Meet people who discuss and share your passions. Go to
> > > > > > > http://in.promos.yahoo.com/groups/bestofyahoo/
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > >
> > >
> > >
> > >       Bring your gang together. Do your thing. Find your favourite
> > Yahoo!
> > > group at http://in.promos.yahoo.com/groups/
> >
> >
> >
> >
> >
> >
> >
> >       Unlimited freedom, unlimited storage. Get it now, on
> > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
>
>
>
>


--

Reply via email to