You might use sun-jdk6, aren't you?
To solve this problem, you can install a sun-jdk5-update15:
Under ubuntu:
sudo apt-get install sun-java5-sdk

Tagore

On Nov 5, 1:11 am, "David Turner" <[EMAIL PROTECTED]> wrote:
> you need to install Sun's JDK, gcj is not supported
>
> On Tue, Nov 4, 2008 at 10:43 AM, hunter <[EMAIL PROTECTED]> wrote:
>
> > Hi, all:
> >     I try to build android on my linux, but failed with following
> > errors:
> > build/core/product_config.mk:229: WARNING: adding test OTA key
> > host C: acp <= build/tools/acp/acp.c
> > cp: cannot stat `out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/
> > acp.d': No such file or directory
> > /bin/bash: line 1: out/host/linux-x86/obj/EXECUTABLES/
> > acp_intermediates/acp.d: No such file or directory
> > host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
> > acp_intermediates/acp)
> > true
> > Install: out/host/linux-x86/bin/acp
> > host Java: droiddoc (out/host/common/obj/JAVA_LIBRARIES/
> > droiddoc_intermediates/classes)
> > libgcj-java-placeholder.sh
>
> > This script is a placeholder for the /usr/bin/java
> > master link required by jpackage.org conventions.  libgcj's
> > rmiregistry, rmic and jar tools are now slave symlinks to these
> > masters, and are managed by the alternatives(8) system.
>
> > This change was necessary because the rmiregistry, rmic and jar tools
> > installed by previous versions of libgcj conflicted with symlinks
> > installed by jpackage.org JVM packages.
>
> > This script was designed to be overridden by the supported RHEL3 JRE
> > packages, java-1.4.2-bea and java-1.4.2-ibm.  It is installed as an
> > alternative symlink as /usr/bin/java.  It will override a third-party
> > (non-RHEL3) JRE's java command if the JRE's bin directory is listed
> > after /usr/bin in PATH.  In that case, it is recommended that the
> > third-party JRE's bin directory be listed first in PATH instead.
>
> > gij: unrecognized option -- `-J-Xmx256m'
> > Try `gij --help' for more information.
>
> > I have install gcc-4.3.2 and my gij version is
> > $ gij -v
> > gij: unrecognized option -- `-v'
> > Try `gij --help' for more information.
> > [EMAIL PROTECTED] bin]$ gij --version
> > java version "1.5.0"
> > gij (GNU libgcj) version 4.3.2
>
> > Copyright (C) 2007 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There
> > is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.
>
> > Can anyone tell me what's wrong?
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to