- 论坛徽章:
- 0
|
为什么安装jdk时候会出现*****
下面的是sun公司网站上j2se1.4下载页面里面的安装介绍。很多软件在下载页面都有软件安装、使用文档链接,多注意一下,可以省很多时间的。
http://java.sun.com/j2se/1.4.1/install-linux.html
1. Check the download file size.
Before you download a file, notice that its byte size is provided on the download page on the web site. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Copy j2sdk-1_4_1_<version number>;-linux-i586.bin to the directory into which you want to install the Java 2 SDK.
3. Run j2sdk-1_4_1_<version number>;-linux-i586.bin
Launch the executable file you downloaded, j2sdk-1_4_1_<version number>;-linux-i586.bin, by using the following commands from the directory in which it is located:
chmod a+x j2sdk-1_4_1_<version number>;-linux-i586.bin
./j2sdk-1_4_1_<version number>;-linux-i586.bin
The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script installs the Java 2 SDK in a directory named j2sdk1.4.1_<version number>; in the current directory.
Installation of RPM File
Use these instructions if you want to install Java 2 SDK in the form of RPM packages. If you want to use the self-extracting binary file instead, see Self-Extracting Binary.
1. Check the download file size.
Before you download a file, notice that its byte size is provided on the download page on the web site. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Run j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin and agree to the license it displays.
Launch the executable file you downloaded, j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin, by using the following commands from the directory in which it is located:
chmod a+x j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin
./j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin
The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2sdk-1_4_1_<version number>;-linux-i586.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the packages that comprise the Java 2 SDK:
rpm -iv j2sdk-1_4_1_<version number>;-linux-i586.rpm
5. Exit the root shell. |
|