我们到/usr/ports/java/jdk16安装jdk16的时候,直接stop了。原来这个安装包是需要我们自己到http://download.java.net/jdk6/6u3/promoted/b05/index.html把三个安装包下载到/usr/ports/distfiles,才能安装的。
那我们就先下载:
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar
还要到http://java.sun.com/javase/downloads/index.jsp下载
JDK DST Timezone Update Tool - 1.3.6
这里需要注册的,下载了以后上传到服务器/usr/ports/distfiles
另外还要到http://www.eyesbeyond.com/freebsddom/java/JDK16JRLConfirm.html下载
bsd-jdk16-patches-4.tar.bz2
然后上传到服务器/usr/ports/distfiles
还要到http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.6.0_07-b02.tar.bz2
下载diablo-caffe-freebsd6-i386-1.6.0_07-b02.tar.bz2
然后上传到服务器/usr/ports/distfiles
都下载好了,我们再进入jdk16目录开始安装了
cd /usr/ports/java/jdk16
make install clean
然后在/etc/profile添加以下几句信息
export PATH=$PATH:/usr/java/jdk1.5.0_07/bin:/usr/java/jdk1.5.0_07/jre/bin
export JAVA_HOME=/usr/java/jdk1.5.0_07
export CLASSPATH="./:/usr/java/jdk1.5.0_07/lib:/usr/java/jdk1.5.0_07/jre/lib"
export LD_LIBRARY_PATH=/usr/java/jdk1.5.0_07/jre/lib/i386:/usr/java/jdk1.5.0_07/jre/lib/
那我们就先下载:
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar
wget http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar
还要到http://java.sun.com/javase/downloads/index.jsp下载
JDK DST Timezone Update Tool - 1.3.6
这里需要注册的,下载了以后上传到服务器/usr/ports/distfiles
另外还要到http://www.eyesbeyond.com/freebsddom/java/JDK16JRLConfirm.html下载
bsd-jdk16-patches-4.tar.bz2
然后上传到服务器/usr/ports/distfiles
还要到http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.6.0_07-b02.tar.bz2
下载diablo-caffe-freebsd6-i386-1.6.0_07-b02.tar.bz2
然后上传到服务器/usr/ports/distfiles
都下载好了,我们再进入jdk16目录开始安装了
cd /usr/ports/java/jdk16
make install clean
然后在/etc/profile添加以下几句信息
export PATH=$PATH:/usr/java/jdk1.5.0_07/bin:/usr/java/jdk1.5.0_07/jre/bin
export JAVA_HOME=/usr/java/jdk1.5.0_07
export CLASSPATH="./:/usr/java/jdk1.5.0_07/lib:/usr/java/jdk1.5.0_07/jre/lib"
export LD_LIBRARY_PATH=/usr/java/jdk1.5.0_07/jre/lib/i386:/usr/java/jdk1.5.0_07/jre/lib/