安装J2SE 1.3.1 for Linux。(RPM包是JDK)
安装步骤:
1、rpm -Uvh j2sdk-1_3_0_03-linux.rpm
2、用vi修改root目录下的.bashrc文件
PATH="$PATH:/usr/java/jdk1.3.0_03/bin:/usr/java/jdk1.3.0_03/jre/bin"
CLASSPATH="$CLASSPATH:/usr/java/jdk1.3.0_03/lib:/usr/java/jdk1.3.0_03/jre/lib"
export PATH CLASSPATH
3、重新启动。