Microsoft SDK for Java

Q179000 DOC: Clspack's "/" Option Doesn't Work As Expected

The information in this article applies to:

SUMMARY

Running clspack /auto or clspack /dump as mentioned in the SDK for Java documentation gives a syntax message instead of creating a Classes.zip file or writing to the specified output file.

MORE INFORMATION

The clspack utility does not process the slash character; you should use a hyphen character. Use -auto instead of /auto, and -dump instead of /dump.

Steps to Reproduce Behavior

If you run clspack /auto from the command line, it puts up message box as follows:

Usage:clspack<ZipFile> <PackageListFile>
or: clspack -dump <PackageListFile> to create a file listing all system packages
or: clspack -auto to place all packages in
%windir%\java\classes\classes.zip

The correct usage is clspack -auto, which will create the Classes.zip file.

REFERENCES

For more information on the clspack utility, please refer to the SDK for Java documentation available at the following Web site:

http://www.microsoft.com/java/sdk/ This link takes you to a site on microsoft.com

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

http://support.microsoft.com/support/visualj/ This link takes you to a site on microsoft.com

http://support.microsoft.com/support/java/ This link takes you to a site on microsoft.com

Additional query words:

clspack auto dump separator slash

© 1999 Microsoft Corporation. All rights reserved. Terms of use.