Java 2 SDK for Solaris Developer's Guide

Binary Compatibility

Java 2 SDK for Solaris is upwards binary-compatible with JDK versions 1.0 and 1.1 except for the incompatibilities listed below. This means that, except for the noted incompatibilities, class files built with JDK version 1.0 or 1.1 compilers run correctly with Java 2 SDK for Solaris.

As long as the javac compiler's -target 1.2 command-line option is not used, downward binary compatibility is generally supported, though not guaranteed. That is, class files built with a Java 2 SDK for Solaris compiler, but relying only on APIs defined in JDK versions 1.0 or 1.1 of the Java platform, generally run on JDK version 1.0 and JDK version 1.1 of the Java Virtual Machine, but this downwards compatibility has not been extensively tested and cannot be guaranteed. Of course, if the class files depend on any new Java 2 SDK for Solaris APIs, those files do not work on earlier platforms.

In general, the policy is that