# harmony-dev mailing list archives

##### Site index · List index
Message view
Top
From "Justin Zheng" <zzqqq...@gmail.com>
Subject Re: Ant get error
Date Tue, 17 Oct 2006 00:49:38 GMT
Helloworld works well. Thanks.

Best Regards,

Justinz

On 10/17/06, Sergey Soldatov <sergey.soldatov@gmail.com> wrote:
>
> It's a know feature that J9 doesn't show version. Nevermind, just try to
> run
> a simple application like HelloWorld
>
> On 10/16/06, Justin Zheng <zzqqqzzz@gmail.com> wrote:
> >
> > Finally, I built Harmony sucessfully. :) However the test suite has a
> lot
> > of
> > failures. Is that expected?
> >
> > And when I type Java -version, the result is:
> >
> > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> > Foundatio
> > n or its licensors, as applicable.
> > JVMJ9VM007E 无法识别命令行选项(unable to read command line option)：-version
> > HMYEXEL062E 内部 VM 错误：未能创建 (internal VM error, cannot create )
Java VM
> > FAILED to invoke JVM.
> >
> > which is different with quickhelp document.
> >
> > Is that my configuration error?
> >
> > Thanks.
> >
> > Best Regards,
> >
> > Justinz
> >
> > On 10/15/06, Alexey Petrenko <alexey.a.petrenko@gmail.com> wrote:
> > >
> > > 2006/10/14, Paulex Yang <paulex.yang@gmail.com>:
> > > > Alexey Petrenko wrote:
> > > > > This error simply means that ant can not finad a compiler. Because
> > > > > Harmony does not have a compiler.. yet...
> > > > > Somewhere (in the READMEs or on the Harmony site) was an
> instruction
> > > > > on using Eclipse compiler for Harmony build.
> > > > >
> > > > > You should look for this info.
> > > > The other solution is, if you have JDK installed, point your
> JAVA_HOME
> > > > to that directory.
> > > Looks like Justin is trying to build Harmony using Harmony....
> > >
> > >
> > > > > 2006/10/14, Justin Zheng <zzqqqzzz@gmail.com>:
> > > > >> Thanks for your help. Ant get issue had been resolved and
> solution
> > > > >> had been
> > > > >>
> > > > >> However, another issue occoured.
> > > > >>
> > > > >> I received this error when I executed build.bat after the update:
> > > > >>
> > > > >> BUILD FAILED
> > > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The
> following
> > > > >> error
> > > > >> occurr
> > > > >> ed while executing this line:
> > > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The
> following
> > > > >> error
> > > > >> occurr
> > > > >> ed while executing this line:
> > > > >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72:
> The
> > > > >> following
> > > > >> err
> > > > >> or occurred while executing this line:
> > > > >>
> > >
> >
> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> > > > >>
> > > > >> java.xml:10: 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
> > > > >>
> > > > >> Some System Variables setting:
> > > > >>
> > > > >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
> > > > >>
> > > > >> Can any one help?
> > > > >>
> > > > >> Thanks a lot!
> > > > >>
> > > > >> Best Regards,
> > > > >>
> > > > >> Justinz
> > > > >>
> > > > >>
> > > > >> On 10/13/06, Salikh Zakirov <Salikh.Zakirov@intel.com>
wrote:
> > > > >> >
> > > > >> > Paulex Yang <paulex.yang@gmail.com> wrote:
> > > > >> > >> Can you access
> > > > >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> > > > >> > >> browser?
> > > > >> >
> > > > >> > Justin Zheng wrote:
> > > > >> > >  I do cannot access that url. How can I get the access
> > > permission?
> > > > >> >
> > > > >> > The site is one of public Apache mirrors, so it must be
some
> > > network
> > > > >> > availability problem that you cannot access it.
> > > > >> > I've just tried and file is accessible.
> > > > >> > Could you please check your internet connection is okay?
> > > > >> >
> > > > >> > Meanwhile, you can try using some other Apache mirror, for
> > example,
> > > > >> the
> > > > >> > main one,
> > > > >> > by making the following change and running 'build.bat update'
> > > again.
> > > > >> >
> > > > >> > --- build/make/win.properties
> > > > >> > +++ build/make/win.properties
> > > > >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> > > > >> >
> > > > >> > # Apache Portable Runtime, version 1.1 or above
> > > > >> >
> > > > >> -
> > > remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> > > > >> > +remote.APR.archive=
> http://www.apache.org/dist/apr/apr-1.2.6.zip
> > > > >> >
> > > > >> > # APR-util, version 1.2.2 or above
> > > > >> >
> > > > >> >
> > > > >> >
> > > ---------------------------------------------------------------------
> > > > >> > To unsubscribe, e-mail:
> > > harmony-dev-unsubscribe@incubator.apache.org
> > > > >> > For additional commands, e-mail:
> > > harmony-dev-help@incubator.apache.org
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Paulex Yang
> > > > China Software Development Lab
> > > > IBM
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail:
> harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexey A. Petrenko
> > > Intel Middleware Products Division
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
>
>
>
> --
> Sergey Soldatov
> Intel Middleware Products Division
>
Mime
• Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message