WEB开发网
开发学院手机开发Android 开发 android 编译源码 错误解决 阅读

android 编译源码 错误解决

 2010-07-15 20:32:00 来源:WEB开发网   
核心提示:在SUN官方网站上下载jdk-6u20-linux-i586.bin,然后直接安装,android 编译源码 错误解决(6),安装完成后设置以下几个环境变量即可:export JAVA_HOME=/home/dev/developer/java/jdk1.6.0_20export JAVA_BIN=/home/dev/

在SUN官方网站上下载jdk-6u20-linux-i586.bin,然后直接安装,安装完成后设置以下几个环境变量即可:

export JAVA_HOME=/home/dev/developer/java/jdk1.6.0_20

export JAVA_BIN=/home/dev/developer/java/jdk1.6.0_20/bin

export CLASSPATH=/home/dev/developer/java/jdk1.6.0_20/lib:/home/dev/developer/java/jdk1.6.0_20/jre/lib:$CL

ASSPATH

export PATH=/home/dev/developer/java/jdk1.6.0_20/bin:/home/dev/developer/java/jdk1.6.0_20/jre/bin:$PATH

测试一下:

dev@dev-desktop:~$ java -version

java version "1.6.0_20"

Java(TM) SE Runtime Environment (build 1.6.0_20-b02)

Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

dev@dev-desktop:~$

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

http://java.sun.com/javase/6/webnotes/install/jdk/install-linux-self-extracting.html

JavaTM SE 6 Release Notes

JDK Self-Extracting Binary Installation for Linux (32-bit)

Installation Instructions

This procedure installs the Java Development Kit (JDK) for 32-bit Linux, using a self-extracting binary file. The JDK download includes the Java SE Runtime Environment (JRE) ? you do not have to download the JRE separately.

For RPM-based Linux distributions, like Red Hat or SuSE, refer to the RPM installation instructions.

The name of the downloaded file has the following format:

jdk-6u-linux-i586.bin

where is the particular version number, for example:

jdk-6u18-linux-i586.bin

To install, download this file and use the following instructions.

1. Download and check the download file size.

You can download to any directory that you can write to.

This bundle can be installed by anyone (not only root users), in any

上一页  1 2 3 4 5 6 7 8 9 10 11  下一页

Tags:android 编译 源码

编辑录入:coldstar [复制链接] [打 印]
赞助商链接