Thanks Misa, that worked but now I'm facing a build issue.

target Java: GoogleSearch
(out/target/common/obj/APPS/GoogleSearch_intermediates/classes)
packages/apps/GoogleSearch/gen/com/android/googlesearch/R.java:10: duplicate
class: com.android.googlesearch.R
public final class R {
             ^
1 error
make: ***
[out/target/common/obj/APPS/GoogleSearch_intermediates/classes-full-debug.jar]
Error 41

Any help in this regard will be of great help.

Karthik

On Thu, Nov 19, 2009 at 12:04 AM, Misael Lopez <[email protected]> wrote:

> Ubuntu 9.10 doesn't include jdk5, but you can add the source list
> entry from 9.04 (Jaunty).
>
> 1. Append the two lines shown below to your /etc/apt/source.list:
> deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
> deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
>
> 2. Retrieve new source lists:
>    sudo apt-get update
>
> 3. Then you can download jdk5
>    sudo apt-get install sun-java5-jdk
>
> -Misa
>
> 2009/11/18 Karthik P <[email protected]>:
> > Hi,
> >
> > I recently installed ubuntu 9.1 in my system which had java 6 installed.
> I'm
> > unable to build Android on my system due to Java version mismatch. Hence
> I
> > tried to download jdk5 but packages are not available thru synaptics
> package
> > manager. Can anyone help me in this regard?
> >
> > Karthik
> >
> > --
> > unsubscribe: 
> > [email protected]<android-porting%[email protected]>
> > website: http://groups.google.com/group/android-porting
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting

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

Reply via email to