This is the 1.0 release of the IFC. The distribution contains the following subdirectories:
1. Uncompress the IFC distribution file into a suitable location. For purposes of this example, it is assumed that this was the root directory of drive C. This will create a directory tree C:\ifc10 containing the directories discussed above.
2. Now edit the CLASSPATH environment variable to include ifc10\classes. For Windows95 users there should be an entry in the autoexec.bat file like this:
SET CLASSPATH=C:\ifc10\classes;%CLASSPATH%
3. Reboot your machine to make sure the variable is set properly.
1. Uncompress the IFC distribution file into a suitable location. For purposes of this example, it is assumed that this was ~/lib. This will create a directory tree ~/lib/ifc10 containing the directories discussed above.
2. Now edit the CLASSPATH environment variable to include ifc10/classes.
setenv CLASSPATH=~/lib/ifc10/classes
You cannot specify a CLASSPATH environment variable on the Macintosh. To use the IFC class library, you must make sure that it resides in the proper location:
1. Create the following folder within the System folder: Preferences|Netscape|Java|netscape-classes
2. Copy the contents of the decompressed ifc10|classes folder into the folder you created.
When you are finished, the netscape-classes folder should contain the netscape|application and the netscape|util folders.
Problem: When I try to build I get an error of the form:
NetscapeApplet.java(4): Package netscape.application not found in import.
Reason: Your CLASSPATH doesn't include YourDir/ifc10/classes.
Solution: Add YourDir/ifc10/classes to your CLASSPATH
-----
Problem: When I try to run the applet I get an error of the form:
java.io.FileNotFoundException: \F:\projects\src\test\Simple\netscape\application\FoundationApplet.class
Reason: Your CLASSPATH doesn't include YourDir/ifc10/classes.
Solution: Add YourDir/ifc10/classes to your CLASSPATH
Copyright © 1996 Netscape Communications Corporation