Java on FreeBSD 7

Prerequisites:

FreeBSD (Base + Autoconf, Automake, Bash and GCC)

 

Get Java – Getting the files from Sun and agreeing to the license

Home: 

http://www.Sun.com

# Please access:
http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2
# with a web browser and "Accept" the End User License Agreement for: "Caffe Diablo 1.5.0"

# Downloaded file:
diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2
# Put this file into your:
/usr/ports/distfiles.

# Please open:
http://java.sun.com/javase/downloads/index.jsp
# Download: "JDK US DST Timezone Update Tool - 1_3_5" to obtain the time zone update file:
tzupdater-1_3_5-2008b.zip
# Put this file into your:
/usr/ports/distfiles.

 

 

Install Java – From FreeBSD Ports Collection

cd /usr/ports/java/diablo-jdk15
make install clean