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

Last reviewed: January 29, 1998
Article ID: Q179000
The information in this article applies to:
  • SDK for Java, versions 2.0, 2.01

SUMMARY

Running clspack /auto or clspack /dump as mentioned in the SDK 2.x 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 2.x for Java documentation available at http://www.microsoft.com/java/sdk/20/tools/.

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: clspack auto dump separator slash

Keywords : JMisc
Technology : kbInetDev internet
Version : WINDOWS:2.0,2.01
Platform : WINDOWS
Issue type : kbdocerr
Solution Type : kbdocfix


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.