The JavaTM Tutorial

| Start of Tutorial > Start of Trail > Start of Lesson | Search

Trail: Security in JDK 1.1
Lesson: Using the Security API to Generate Public and Private Keys

## Run the testSig Program

> UNIX

>       % java testSig data

> DOS shell (Windows 95/NT)

>       C:\>java testSig data

>   Note: For the UNIX and Windows 95/NT JDK, the first argument to the Java interpreter is the name of the class to run, not the name of a file. Be sure to capitalize the class name exactly as shown above.

> MacOS
>   Drag the `testSig.class` file icon onto the Java Runner icon. When prompted for command-line arguments, specify the `data` file name and click the OK button.

| Start of Tutorial > Start of Trail > Start of Lesson | Search