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

Last reviewed: January 29, 1998
Article ID: Q179549
The information in this article applies to:
  • Microsoft Win16 Virtual Machine for Java

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:

   <Applet code=MyClassName CODEBASE=zipfile.zip width=... height=...>

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.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/visualj/
   http://support.microsoft.com/support/java/


Additional query words: long file name filename Win16

Keywords : JVM
Technology : kbInetDev
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 29, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.