android 编译源码 错误解决
2010-07-15 20:32:00 来源:WEB开发网2. Make sure that execute permissions are set on the self-extracting binary.
Run this command:
% chmod a+x jdk-6u
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
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_
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 about Overwriting Files: If you install the software in a directory
that contains a subdirectory named jdk1.6.0_
赞助商链接