Installation Instructions
Java 2 SDK, Standard Edition
Version 1.3.0_01
for Linux
The Java 2 SDK, Standard Edition, v1.3.0_01 is available in two installation formats.
- A self-extracting binary file named j2sdk-1_3_0_01-linux.bin which can be used to install the Java 2 SDK in a location chosen by the user. If you are using this file, see Self-Extracting Binary below.
- The file j2sdk-1_3_0_01-linux-rpm.bin containing RPM packages comprising the Java 2 SDK. If you are using this bundle, see Installation of RPM File below.
The bundles for both installation formats are packaged in an .bin shell script that displays the product license agreements before actual installation.
The Java 2 SDK includes the Java Plug-in. See Installation of Java Plug-in below.
Use these instructions if you want to use the self-extracting binary file to install the Java 2 SDK. If you want to install RPM packages comprising the SDK, use Installation of RPM File below.
1. Check the download file size.
Check the large file that you downloaded to ensure that it is the correct size:
j2sdk-1_3_0_01-linux.bin 25,932,583 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.
2. Copy j2sdk-1_3_0_01-linux.bin to the directory you want to install into.
3. Run j2sdk-1_3_0_01-linux.bin and agree to the license it displays.
Launch the executable file you downloaded, j2sdk-1_3_0_01-linux.bin, by using the following command from the directory in which it is located:
./j2sdk-1_3_0_01-linux.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will install the Java 2 SDK in a directory named jdk1.3.0_01 in the current directory.
Note about root access - Note that if you choose to install the Java 2 SDK into 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 2 SDK into your home directory, or a subdirectory that you have permission to write to.
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 above.
1. Check the download file size.
Check the large file that you downloaded to ensure that it is the correct size:
j2sdk-1_3_0_01-linux-rpm.bin 24,589,028 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.
2. Run j2sdk-1_3_0_01-linux.bin and agree to the license it displays.
Launch the executable file you downloaded, j2sdk-1_3_0_01-linux-rpm.bin, by using the following command from the directory in which it is located:
./j2sdk-1_3_0_01-linux-rpm.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file j2sdk-1_3_0_01-linux.rpm in the current directory.
3. Become root:
su
4. Run the rpm command to install the packages:
rpm -iv j2sdk-1_3_0_01-linux.rpm
This will install the packages comprising the Java 2 SDK.
Note: It can happen that your installation may fail with a message such as "glibc >= 2.1.2-11 is needed by jre-1.3" even though glibc 2.1.2 (or greater) is on your system. This can happen when your glibc was not installed as part of an rpm package and is therefore not on the rpm file list. In that case, this J2SE rpm installation package won't recognize that glibc is installed. To force the J2SE installation to proceed, use the --force option:
rpm -iv --force j2sdk-1_3_0_01-linux.rpm
5. Exit the root shell.
To install the Java Plug-in follow these steps.
1. Uninstall previous installation of the Java Plug-in, if applicable.
rm -fr $HOME/.netscape/java
rm $HOME/.netscape/plugins/javaplugin.so
2. Set the NPX_PLUGIN_PATH environment variable:
for Netscape 4 browser:
export NPX_PLUGIN_PATH=<jre>/plugin/i386/ns4
for netscape 6 browser:
Make soft link from <netscape>/plugin to <jre>/plugin/i386/ns600/libjavaplugin_oji.so
example: ln -s <jre>/plugin/i386/ns600/libjavaplugin_oji.so <netscape>/plugins/.
|
Here, <jre> is the path to the jre1.3 directory inside your installation of the Java 2 SDK.
3. Start (or restart) your Netscape browser.
Start your Netscape browser. If your browser is already running, close it and restart it.
4. Close and restart your Netscape browser again.
Restarting the browser a second time is necessary because of bug 4358142.
分享到:
相关推荐
官方版本,亲测可用
这个文档会讲解如何使用Java SE 1.6中的核心类、接口和方法,包括新的语言特性如for-each循环、枚举类型以及增强的注解等。对于还在使用或维护Java 1.6项目的开发者来说,这是一个非常有价值的资源。 《JAVA API...
官方版本,亲测可用
标题与描述中的“J2SE 5.0- Java安全及网络计算的最新技术”强调了Java标准版(J2SE)在版本5.0中引入的安全性和网络功能的增强。这一版本标志着Java平台在安全性、加密技术以及网络通信方面的重要进展,为开发者...
### J2SE总结知识点 #### 一、Java基础语法与数据类型 1. **源文件与公共类**:在Java中,如果一个类被声明为`public`,那么该类所在的源文件必须与该类名相同,并且一个源文件中只能有一个`public`类。 - 示例:...
J2SE 的API ,分享一下,希望各位兄弟喜欢
资源名称:Java-J2se、J2ee开发全程视频教程和源码(87集)资源目录:【】Java-J2se-J2ee全程教程(01-10)【】Java-J2se-J2ee全程教程(11-20)【】Java-J2se-J2ee全程教程(21-30)【】Java-J2se-J2ee全程教程(31...
4. **动态语言支持**:J2SE 6.0引入了JSR 223(Scripting for the Java Platform),使得Java平台可以支持多种脚本语言,如JavaScript、Groovy等。 5. **改进的JDBC**:数据库连接性能得到提升,同时增加了对结果集...
这份名为“j2se-doc-cn”的压缩包包含的是Java API的中文版,对于中国开发者来说,无疑极大地便利了理解和使用Java语言。 在Java API文档中,你可以找到关于类库的详细信息,这些类库构成了Java开发的基础。例如,`...
jaxmpp-j2se-3.0.0.jar(XMPP/Tigase开发,java代码类型客户端使用的jar包) 需要的朋友自己下载,一个朋友让我帮他找的,就顺便发出来给更多需要的朋友吧
Java Standard Edition(J2SE)是Java平台的核心部分,它为开发和运行桌面应用、服务器应用以及网络应用程序提供了基础框架。J2SE 6.0是Oracle公司发布的一个重要版本,包含了众多新特性、改进和优化,对于Java...
这里提到的"core-2.3.0 + QRCode + zxing-1.6-core + zxing-j2se-1.7"组合,是与二维码处理相关的Java库集合。下面我们将详细探讨这些组件以及它们在实际开发中的应用。 首先,"core-2.3.0"可能指的是某个项目的...
资源名称:【一脚揣进J2SE】视频教程(持续更新)资源目录:【】《一脚踹进J2SE》1-1Java简介【】《一脚踹进J2SE》1-2Java运行环境搭建【】《一脚踹进J2SE》1-3HelloWorld实现及Java运行原理介绍【】《一脚踹进J2SE...
官方版本,亲测可用
官方版本,亲测可用
官方版本,亲测可用
官方版本,亲测可用
官方版本,亲测可用
官方版本,亲测可用
官方版本,亲测可用