Justin Zheng 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.
Sure, because you are sing IBM J9 :) which doesn't support -version as we have the launcher pass it through. We'll fix this ASAP. > > Is that my configuration error? Try running a HellowWorld with -showversion > > Thanks. > > Best Regards, > > Justinz > > On 10/15/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote: >> >> 2006/10/14, Paulex Yang <[EMAIL PROTECTED]>: >> > 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 <[EMAIL PROTECTED]>: >> > >> Thanks for your help. Ant get issue had been resolved and solution >> > >> had been >> > >> updated to the wiki page, please help to check. >> > >> >> > >> 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: >> > >> >> > >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5 >> > >> 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 <[EMAIL PROTECTED]> wrote: >> > >> > >> > >> > Paulex Yang <[EMAIL PROTECTED]> 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 >> > >> > # http://apr.apache.org/download.cgi >> > >> > >> > >> - >> 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 >> > >> > # http://apr.apache.org/download.cgi >> > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- >> > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html >> > >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > >> > For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> > >> > >> > >> > >> >> > >> >> > > >> > > >> > >> > >> > -- >> > Paulex Yang >> > China Software Development Lab >> > IBM >> > >> > >> > --------------------------------------------------------------------- >> > Terms of use : http://incubator.apache.org/harmony/mailing.html >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> Alexey A. Petrenko >> Intel Middleware Products Division >> >> --------------------------------------------------------------------- >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]