The Microsoft SDK for Java tools enable you to compile, run, and test Java programs and applets. The tools are located in the %SDKDIR%\Bin directory. Make sure this directory is in your path before using the tools. This section provides reference information on the command-line options. The use for each of the tools is listed in the following table.
Compiling and Debugging Tools |
AppletViewer |
Runs Java applets. |
ClassVue |
Displays compiled classes at the bytecode level. |
ClassD and ClassR |
Installs debugging and retail versions of the system classes to be package managed and updates the CLASSPATH environment variable. |
Javasrc |
Extracts source code from the debugging version of the system classes. |
Jexegen |
Converts Java classes into native executables. |
Jntsvc |
Converts Java classes into a Microsoft® Windows NT® Service executable. |
Jvc |
Creates Java applications and applets by compiling Java source code. For a list of all errors and warnings produced by this compiler, see JVC Errors and Warning Messages. |
Jview |
Runs Java applets and applications from the command line. |
NMake |
Builds projects based on the commands contained in a makefile. |
Qvue |
Prints out class method signatures and identifies .class files that were generated from a type library. |
Wjview |
Runs Java Frame applets and applications that create a frame window in a separate process. |
Native Code and COM Tools |
Guidgen |
Generates globally unique identifiers (GUIDs). |
Jactivex |
Allows you to host automation-enabled Microsoft® ActiveX® Controls in Java and create Java source from type libraries. Used for creating Java/COM interfaces. Replaces javatlb and jcom. |
Javah |
Generates C header and source files from a Java class. |
Javareg |
Registers Java classes as COM components in the Microsoft® Windows® registry. |
Msjavah |
Generates C language header files for Java classes. |
Resmerge |
Combines multiple Microsoft® Win32® resource (.res) files into a single file. |
Vjreg |
Registers Java classes as COM components in the registry. With vjreg, you can register multiple Java classes in one execution. |
Software Distribution Tools |
Cabarc |
Handles the archiving of multiple files in a compressed format. |
Cert2spc |
Creates a Software Publisher's Certificate from one or more X.509 certificates. |
Certmgr |
Manages and displays certificates, CTLs, and CRLs. Replaces the dumpcert utility. |
Chkjava |
Allows users to view security information placed in a cabinet file by signcode with the JavaSign DLL. |
Chktrust |
Checks the validity of a file. |
Cprmedit |
A Microsoft® Windows®-based utility that enables end users and developers to specify permissions that govern the download of unsigned and signed software when using Microsoft® Internet Explorer 4.0 (and later). |
Dubuild |
Writes Open Software Distribution files and creates Distribution Units for Java software distribution on Microsoft Internet Explorer 4.0 or later. |
Makecert |
Generates a test X.509 certificate. |
MakeCTL |
Creates a certificate trust list (CTL) and saves the encoded CTL to a certificate store or to a file. |
Piniedit |
A Windows-based tool that generates custom Java permissions .ini files for use with the signcode –jp command-line option. |
Setreg |
A tool to change registry settings. |
Signcode |
Signs cabinet files and gives developers more control over the security restrictions placed on an applet. |