Reg Java 6 issue with ubuntu 9.1

by Karthik P » Thu, 19 Nov 2009 02:05:32 GMT

Sponsored Links

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?



Reg Java 6 issue with ubuntu 9.1

by Misael Lopez » Thu, 19 Nov 2009 02:35:02 GMT

 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 jaunty multiverse 
deb 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


2009/11/18 Karthik P <>:


Sponsored Links

Reg Java 6 issue with ubuntu 9.1

by Karthik P » Fri, 20 Nov 2009 15:23:42 GMT

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

target Java: GoogleSearch
packages/apps/GoogleSearch/gen/com/android/googlesearch/ duplicate
public final class R {
1 error
make: ***
Error 41

Any help in this regard will be of great help.


> > website: 

Other Threads

1. App Marketing and Monetization Strategies - Webinar

The mobile app industry is seeing a growth unlike any other before.

To better understand the growing popularity of mobile apps, and help
all players in the mobile app ecosystem figure out how to successfully
promote and monetize apps, we're hosting a one-time-only, 30min
webinar on Thursday, January 20, 2011 10:30 AM - 11:00 AM CST

Hosted By:
Oren Todoros, Co-founder & CEO
Robert Weber, Co-founder & Vice President at W3i.

Join us and discover 6 app marketing strategies: Crucial to creating
and maintain high visibility in the App Store as well as pricing and
monetizing to benefit from your mobile app initiatives.

Brand owners, developers, digital marketers, you'll want to make sure
you've registered for the Mobile App Marketing and Monetization
Strategies Webinar.

Register FREE :


2. showSoftInput can't work on Native Activity

I am working on native activity on android 3.0. I'd like to enable
virtual keyboard.

I used showSoftInput(activity, 1) or showSoftInput(activity, 2) on
Native Activity, but virtual keyboard can't be displayed on screen.

I don't have found any error / warning message on Logcat while using
the function to open virtual keyboard.

BTW, supposed I did not use native activity, and just call it on Java
side, it works.

any idea about this.

thanks very much.


3. ADT 10.0.0 Issues

4. Is there a way to change mtu size on android phone

5. Reasoning behind disabling certain ProGuard optimizations?

6. Arriving HD Review

7. best way to implement this screen layout?