Actually java 1.6 can be used to compile Android.
You can use openjdk shipped with Fedora:

yum install java-1.6.0-openjdk

But you need to patch Android build system
to enable compiling with java 1.6.


On 11月3日, 下午3時02分, Chew Esmero <[email protected]> wrote:
> In order to properly build android sources, you need sun-java5-jdk
> package. My machine is Ubuntu so I can download the package using $apt-
> get install sun-java5-jdk. I'm not sure what's equivalent in Fedora.
> Is it $yum install sun-java5-jdk? Or you can manually download from
> sun website. Be sure its version 5.0, not 6.0. Hope this can help.
>
> On Nov 2, 9:38 pm, superspirit <[email protected]> wrote:
>
> > hi, i am trying to build donut android on my development machine
> > (linux-feroa), but i could not able find proper java version. people
> > any sugesstions.
>
> > /prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin)
> > build/core/find-jdk-tools-jar.sh: line 5: [: too many arguments
> > ************************************************************
> > You are attempting to build with the incorrect version
> > of javac.
>
> > Your version is: /bin/bash: javac: command not found.
> > The correct version is: 1.5.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to