Zoe on FreeBSD means Java

To make Zoe (hmm, how to do an umlaut on an X display?) work, I needed Java to work, and as it turns out, it had to be 1.3.1, not 1.4.

The FreeBSD Ports Collection makes this a snap. cd /usr/ports/java/linux-sun-jdk13 and run make.

You'll need to agree to Sun's Community License and download the source from them.


===> linux-sun-jdk-1.3.1.04_1 You must manually fetch the Java 2 Development Kit 1.3.1.04 archive (j2sdk-1_3_1_04-linux-i586.bin) from http://java.sun.com/Download5?config-file=j2sdk-1_3_1_04.config&platform=linux-i586&Download=download, download the Linux GNUZIP Tar shell script into /usr/ports/distfiles and then run make again.

Couple of potential problems I found:


  • This will require the Linux compatibility stuff so you may find a raft of dependencies need to be resolved. If you have already handled this for some prior install, you'll skip it this time.
    You might want to make a link from /usr/compat/linux/var/lib/rpm to /var/lib.
  • You'll need to make link from where the java stuff gets installed to someplace where you can find it:
    rwxr-xr-x 1 root wheel 38 Aug 22 07:41 /usr/local/bin/java -> /usr/local/linux-sun-jdk1.3.1/bin/java

    The benefit to this is that you can then upgrade to the 1.4 release and simply move the link to point to it: if you need to roll back swap the link back.

When 1.4 failed to work, I filed a bug report with Sun and they suggested I try an RC they're making available. More on that later . . . .