The information in this article applies to:
The Microsoft VM that ships with Internet Explorer 4.0x as well as with the SDK for Java 2.0 and later provides support for having multiple CABs and JARs in the same APPLET tag.
A parameter named Cabinets may contain multiple .cab files, separated by commas (,). For example, the <APPLET> tag in your HTML file can look like this:
<applet code=foo.class name=foo width=320 height=240 > <param name=cabinets value=foo.cab,bar.cab> </applet>
An Archive attribute may contain multiple JAR files or ZIP files, separated by commas. The JAR files or ZIP files may be compressed or uncompressed, but the manifest of the JAR file is ignored, including any digital signature information the manifest may contain.
For example, the APPLET tag in your HTML file can look like this:
<applet code=foo.class ARCHIVE=foo.zip,bar.jar name=foo width=320 height=240 > </applet>
You can include an Archive attribute and Cabinets parameter in the same <applet> tag. If you do, the Microsoft VM will search the .cab files from the Cabinets parameter and ignore the Archive attribute.
Note Browsers other than Internet Explorer 4.0 will generally ignore the Cabinets parameter.
In order to understand how the Microsoft VM searches for the class requested from a Web page, please see the following article in the Microsoft Knowledge Base:
Q163637 INFO: Availability of the current build of Microsoft VM.
Q177168 INFO: How Does the Microsoft Virtual Machine Search for Java Classes?
You can download the latest release build of the Microsoft VM from
http://www.microsoft.com/java/ .
For more information on the latest version of the Microsoft VM, please see the following article in the Microsoft Knowledge Base:
For the latest Knowledge Base articles and other support information on Microsoft® Visual J++® and the SDK for Java, see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj
http://support.microsoft.com/support/java
multiple cabs jar files applet