Last night I got FOP working on my BSD box, it depends on Java. First I tried with diablo java, but it crashed on startup. I checked if others had experienced the same, apparently this was a known problem on the FreeBSD 5.x. Though it should work on FreeBSD 4.x.. Had I only known this on beforehand. I decided to see if I would have more luck installing jdk142. First I had to make an account at sun.com and supplying lots of info about myself. The registration took really long time. Next I had to download 3 files.
-rw------- 1 root wheel 2513462 Apr 7 14:08 j2sdk-1_4_2-bin-scsl.zip -rw------- 1 neoneye neoneye 49269919 Apr 7 14:02 j2sdk-1_4_2-src-scsl.zip -rw------- 1 root wheel 35829260 Apr 7 14:53 j2sdk-1_4_2_04-linux-i586.bin
About 87 mbytes. I had to add linux fs emulation to fstab, and mount it. I had to load a linux emulation kernel module.
Finally It started compiling java. Many hours compiling on my pentium 700MHz, where the machine hardly could be used because of lacking. I went to a friends place and played poker, when I got back the installation was completed. It had consumed 3.3 gbytes diskspace! Installing java can be painful.