Chinaunix首页 | 论坛 | 博客
  • 博客访问: 393211
  • 博文数量: 119
  • 博客积分: 1796
  • 博客等级: 上尉
  • 技术积分: 890
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-14 10:16
个人简介

守正

文章分类
文章存档

2013年(1)

2011年(40)

2010年(78)

分类: 嵌入式

2011-09-16 11:11:10

一、关于jdk
1、目前可用的是 jdk6。目前的 android 2.3 和 3.0 都可以利用这个来开发。
2、网上的教程中,关于 android 2.2 都是和 jdk 5 搭配创建开发环境的。
3、android + eclipse 开发,目前对jdk7的支持不好,如果使用jdk7会导致很多问题。参考:
    
4、手动安装jdk的两篇较好的文章:
    
     http://blog.csdn.net/java3344520/article/details/6176243
========================================
关于用openjdk取代jdk来作为android sdk开发,在google的groups中有如下讨论:

From: Javi
Date: Thu, 23 Apr 2009 09:54:36 -0700 (PDT)
Local: Fri, Apr 24 2009 12:54 am
Subject: Android and OpenJDK
Hello,

Is it possible to use the OpenJDK instead the Sun closed jre to
develop android applications?
What are your experiences?



From: Sean Hodges
Date: Mon, 27 Apr 2009 11:28:13 +0100
Local: Mon, Apr 27 2009 6:28 pm
Subject: Re: [android-beginners] Android and OpenJDK
  I use OpenJDK 6 in Ubuntu, I've had no problems so far.

Obviously the Android platform only officially supports the Sun
implementation (http://developer.android.com/sdk/1.1_r1/requirements.html),
so if you encounter unusual compilation problems it pays to have the
Sun JDK available somewhere just to rule out JDK issues.


From: Jose Martinez
Date: Mon, 27 Apr 2009 05:46:40 -0500
Local: Mon, Apr 27 2009 6:46 pm
Subject: Re: [android-beginners] Re: Android and OpenJDK

Hi,

Of course you can. I only use open-jdk for my Java development and I don't
have any problem at all. Try it without a doubt.

=============================================


阅读(500) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~