1.拷贝j2sdk-1_4_0_02-solaris-sparc.tar.Z (32bit)
j2sdk-1_4_0_02-solaris-sparcv9.tar.Z (64bit)
gcc-2.95.3-sol8-sparc-local.gz
make-3.79-sol8-sparc-local.gz
2.进入软件目录
1).安装JDK 1.4
#uncompress j2sdk-1_4_0_02-solaris-sparc.tar.Z
#tar xvf j2sdk-1_4_0_02-solaris-sparc.tar
#pkgadd -d .
#uncompress j2sdk-1_4_0_02-solaris-sparcv9.tar.Z
#tar xvf j2sdk-1_4_0_02-solaris-sparcv9.tar
#pkgadd -d .
2).安装gcc 2.95.3
#gzip -d gcc-2.95.3-sol8-sparc-local.gz
#pkgadd -d gcc-2.95.3-sol8-sparc-local
3).安装make 3.79
#gzip -d make-3.79-sol8-sparc-local.gz
#pkgadd -d make-3.79-sol8-sparc-local
3.修改环境变量
#cp /etc/skel/local.profile /.profile
#vi /.profile
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/etc:.
export PATH
CC=gcc
export CC
JAVA_HOME=/usr/j2se
CLASSPATH=/usr/j2se/lib:/usr/j2se/jre/lib
export JAVA_HOME CLASSPATH
#vi /etc/skel/local.profile
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/etc:.
export PATH
CC=gcc
export CC
JAVA_HOME=/usr/j2se
CLASSPATH=/usr/j2se/lib:/usr/j2se/jre/lib
export JAVA_HOME CLASSPATH
#vi /etc/skel/local.cshrc
set path=(/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ccs/bin /usr/ucb /etc .)
set CC=gcc
set JAVA_HOME=/usr/j2se
set CLASSPATH=(/usr/j2se/lib /usr/j2se/jre/lib)
#ln -s /usr/j2se/bin/java /usr/bin/java
#ln -s /usr/local/bin/gcc /usr/bin/CC
#ln -s /usr/ccs/bin/make /use/bin/make