Knowledge Base

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

Article ID: 179000

Article Last Modified on 6/14/2006


APPLIES TO


This article was previously published under Q179000

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:
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Additional query words: clspack auto dump separator slash

Keywords: kbdocfix kbdocerr KB179000