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

android 编译源码 错误解决

 2010-07-15 20:32:00 来源:WEB开发网   
核心提示:location that the user can write to. However, only the root user can displace the system version of the Java platform supplied by Linux.2. Make sure that execut
location that the user can write to. However, only the root user can displace the system version of the Java platform supplied by Linux.

2. Make sure that execute permissions are set on the self-extracting binary.

Run this command:

% chmod a+x jdk-6u-linux-i586.bin

3. Change directory to the location where you would like the files to be installed.

The next step installs the JDK into the current directory.

4. Run the self-extracting binary.

Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with "./" (necessary if "." is not in the PATH environment variable):

% ./jdk-6u-linux-i586.bin

The binary code license is displayed, and you are prompted to agree to its terms.

The JDK files are installed in a directory called jdk1.6.0_ in the current directory. Follow this link to see its directory structure. The JDK documentation is a separate download.

5. Delete the bin file if you want to save disk space.

6. If you want to use Java within the browser, setup the plugin using the instructions in Manual Plugin Installation for Linux.

Note about Root Access: Installing the software automatically creates a directory called jdk1.6.0_. Note that if you choose to install the JDK into a system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java SE Runtime Environment into your home directory, or a subdirectory that you have permission to write to.

Note about Overwriting Files: If you install the software in a directory that contains a subdirectory named jdk1.6.0_, the new software overwrites files of the same name in that jdk1.6.0_ directory. Please

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

Tags:android 编译 源码

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