Notes on converting AFC 1.1 to run under Sun's JDK1.1 (or later).

This material is taken with permission from an excellent article by Chihong Liang, Kevin Luo, and Tony Zhang (on AFC vs JFC) in the February 1998 issue of JavaWorld.

I would like to thank Chihong, Kevin, and Tony for their useful article in JavaWorld. I was very disappointed when the final release of Microsoft's Java SDK 2.0 (and 2.01) did not include a completely portable version of AFC. These notes should let you run your AFC Java applications on any platform.

I assume that you have installed Microsoft SDK for Java 2.0, or later. Find the classes.zip file:

In c:\windows\java\classes under Winfows 95

In c:\WinNT\java\classes under Windows NT 4.0

Copy the classes.zip file to c:\temp, and unzip it. You now need to delete the two files FxMSVM.class and FxSMVM10.class in the package com.ms.fx (in the directory com\ms\fx). Now, do the following:


1. cd c:\temp

2. jar cf afc.jar com\ms\ui\* com\ms\fx\* com\ms\util\*

3. copy this JAR file to a permanent location, and add it to your CLASSPATH.