Reg Java 6 issue with ubuntu 9.1

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


Sponsored Links
 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

-- 



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  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 <karthi...@gmail.com>:

-- 


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
(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




> > 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 AppsMarketing.mobi
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 : https://www3.gotomeeting.com/register/513273222

-- 

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?