So I went to Blackdown (remember that Sun didn't provide Java for Linux in the early days...) and downloaded the "latest" JDK 1.3, which is Java2 SDK 1.3.1-02b-FCS.
After the installation it threw the following error on the first run:
/home/chrisg/j2sdk1.3.1/bin/i386/native_threads/java: relocation error:Some googling turned up that SUN used a private interface from glibc. Well, no easy fix for this...
/home/chrisg/j2sdk1.3.1/jre/lib/i386/libjava.so: symbol __libc_waitpid,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
A closer look at java.sun.com lead to the Java Download Archive (albeit Sun makes it bit hard to find) where I found J2SE 1.3.1.
After the installation the following commands are needed:
sudo apt-get install libstdc++6and then you should have a working JDK1.3.
sudo ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
The testing (of FOP) revealed some strange errors but that's another story...