The source code for the JDK 1.2.2 is available from
You will need to obtain the Java 2 SDK 1.2.2 download, not the
Java 2 SDK 1.2.2 for Linux.
Once you have done this and agreed to the SCSL you can proceed to
download the latest FreeBSD JDK 1.2.2 patchset. This contains patches, build instructions and other related information.