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

ID: Q179000


The information in this article applies to:
  • Microsoft SDK for Java, versions 2.0, 2.01, 2.02, 3.0, 3.1, 3.2


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 dash 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/
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/

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

Additional query words: clspack auto dump separator slash

Keywords : kbdocfix kbdocerr kbSDKJava300 kbSDKJava310 JMisc kbSDKJava320
Version : WINDOWS:2.0,2.01,2.02,3.0,3.1,3.2
Platform : WINDOWS
Issue type :


Last Reviewed: November 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.