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



The information in this article applies to:

  • Microsoft SDK for Java 2.0
  • Microsoft SDK for Java 3.2
  • Microsoft SDK for Java 2.01
  • Microsoft SDK for Java 2.02
  • Microsoft SDK for Java 3.0
  • Microsoft SDK for Java 3.1

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:

Modification Type:MajorLast Reviewed:6/14/2006
Keywords:kbdocerr kbdocfix KB179000