Microsoft KB Archive/179549

{|
 * width="100%"|

INFO: Using Long Class File Names with the Java Virtual Machine for Win16

 * }

ID: Q179549

-

The information in this article applies to:


 * Microsoft Win16 Virtual Machine

-

SUMMARY
This article discusses how the Microsoft Win16 Virtual Machine for Java uses long file names.

MORE INFORMATION
The Microsoft Win16 Virtual Machine for Java, is able to use long file names by referencing them directly on your Web server in the applet tag of the HTML. If the HTML page and class files are on the local disk of a machine running Win16, however, it is necessary to place the .class files in an uncompressed .zip file and name that file in the CODEBASE attribute of the applet tag, like this:

   This would be necessary only for classes that exist on the Win16 local machine. If the .class files are on a network, it is generally easier to avoid file name problems by using the HTTP: protocol to access them instead of the FILE: protocol.

Please note that this use of the CODEBASE attribute is specific to the Microsoft Win16 Virtual Machine for Java. Other browsers, including Internet Explorer on other platforms, do not support this use of the CODEBASE attribute, and generally cannot load an applet if the applet tag's CODEBASE attribute specifies a .zip file.