Here are all the details on how to install Java on FreeBSD (based on 4.9) on a machine
Install the following files in /usr/ports/distfiles
The first one is a set of source code patches to the Java source. Find this at Eyes Beyond
The others are available at Sun's Java web site. You will have to register and sign up for Sun's source code access program (whatever it's called).
Run as root
Install the following files in /usr/ports/distfiles
The first one is a set of source code patches to the Java source. Find this at Eyes Beyond
The others are available at Sun's Java web site. You will have to register and sign up for Sun's source code access program (whatever it's called).
Add the following entry to /etc/fstab (with tabs separating the columns)
linprocfs /compat/linux/proc linprocfs rw 0 0
Then, run the following commands as root
If you don't do this, the build will hang because the Linux VM used to bootstrap the native FreeBSD JDK build looks for the Linux-style proc mount. Also, the system will have a high load average if you don't, so if you don't and get into this situation, kill the build, then kill -9 the Linux Java process.
Run as root
Software development | Tutoring | Computer Security | Video | Contact |