To install the JDK 1.1.8 and the JDK 1.2 Collection Classes on Solaris or Windows NT:
- Download JDK 1.1.8 and the JDK 1.2 Collection Classes from Sun's web site.
- Install the JDK (use the default location of /jdk1.1.8 on Windows NT, /usr/local/jdk1.1.8 on Solaris)
- Install the Collections (In this example, we will use /jdk1.1.8/collections on Windows NT, /usr/local/jdk1.1.8/collections on Solaris)
- Create the following environment variables:
| JAVA_HOME | /usr/local/jdk1.1.8 (or c:/jdk1.1.8  for NT) | 
| JDKDIR | $JAVA_HOME | 
- Edit $(NEXT_ROOT)/Library/Java/JavaConfig.plist to conform to the following:
Vendor = sun1.1.8
	sun1.1.8 = {
	VM = "$JDKDIR/bin/java.exe";
	DefaultClasspath =  "$HOME/Library/Java; $NEXT_ROOT/Library/Java; $JDKDIR/lib/classes.zip; $JDKDIR/collections/lib/collections.jar";
	DefaultBeanpath =   "$HOME/Library/JavaBeans; $NEXT_ROOT/Local/Library/JavaBeans; $NEXT_ROOT/Library/JavaBeans";
	Compiler = "$JDKDIR/bin/javac.exe";
	Headers = "$JDKDIR/include $JDKDIR/include/winnt";
	Library = "$JDKDIR/lib/javai.lib";
	DebugLibrary = "$JDKDIR/lib/javai_g.lib";
On Windows NT, this is all you need to do.  On Solaris, you'll need to perform some extra steps:
- Change to the directory /opt/Apple/Library
- Rename the JDK directory to "JDK1.1.6"
- Recreate JDK as a link to the $JAVA_HOME directory:
ln -s $JAVA_HOME JDKBe aware that the java compiler used by make is hardcoded to use JDK 1.1.6.  This will not affect most Java projects.