|
Java™ JDK for FreeBSD 4.x / Jakarta-Tomcat 4.0.1, by Victoria Chan |
|
Introduction - Java™ today, January 14th 2002 This document is written in hopes of making it easier for anyone that needs to get Java™ for FreeBSD, up and running with the least amount of aggravation. Plan on spending a whole day on such a project as it will take time to assemble all the pieces and compile them individually, and then as a whole. The Java™ programming language was born on May 23rd 1995. One would expect that after all this time, Java™ Applications would be easy to install and ready to run from a single package or port, thus making it available for the en masse. This is not the case, unfortunately, as Java™ distribution is held very closely by Sun™, and prohibits re-distribution. All Java™ Applets must be compiled from source codes, by parts and pieces, together with the Java™ Development Kit from Sun™. All these ingredients must be blended together in the right order, assembled and compiled by the end user. With such distribution philosophies at heart, it is my opinion that Java will always be developer / hacker use only. I certainly found this to be true when I needed to serve up some .jsp pages for a client on my web server, and needed to get Jakarta Tomcat to work with my Apache on my FreeBSD box. The Tomcat portion of the install is very straight forward, but the difficulty I had was getting Java Development Kit up and running for FreeBSD 4.x, as Sun™ only supplies Binaries for Linux / Solaris™ & NT. This meant that I had to compile my own for FreeBSD. I began by searching for documentation on the internet. I quickly found that there are more source codes that I needed and patches to the source codes, with very little supporting documentation of what to do with these sources & patches. What you need to assemble Ensure that you have the current ports collection. If you do not, when you run "make" it will bomb out as it is trying to download an older source. You can upgrade your entire ports collection by using CVSup. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html for more information. You can also download the ports you need manually from ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/ to get you going. The list of dependencies below, are required to be installed manually in a certain order. Dependencies that are automatically or dynamically downloaded are not listed here. /usr/ports/java/jdk13 /usr/ports/java/linux-jdk13 /usr/ports/archivers/gtar /usr/ports/archivers/bzip2 /usr/ports/archivers/unzip /usr/ports/archivers/zip You will need to get the following:
|
|
To contact us: |
|
Phone: +1(604)671-5123 Fax: +1(604)552-8573 |
|
Port Coquitlam, B.C. CANADA V3B6H2 |

|
kendryl.com |
|
kendryl.net |


