Microsoft KB Archive/179000

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

Article ID: 179000

Article Last Modified on 6/14/2006

-

APPLIES TO


 * Microsoft Software Development Kit for Java 2.02
 * Microsoft Software Development Kit for Java 3.2
 * Microsoft Software Development Kit for Java 2.01
 * Microsoft Software Development Kit for Java 2.02
 * Microsoft Software Development Kit for Java 3.0
 * Microsoft Software Development Kit 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  or: clspack -dump  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.

