---
name: "javah-cp"
section: "1"
platform: "linux"
package: "classpath-tools"
version: "0.0.20020812-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/javah-cp"
---

# javah-cp(1)

C header and stub file generator

## NAME

javah - C header and stub file generator

## SYNOPSIS

**javah** \[*OPTION*\]... \[*CLASS*\]...

## DESCRIPTION

Generate header files for the given classes.

- **-classpath** PATH

  Specify where to find user class files

- **-d** DIR

  Specify an output directory

- **-help**

  Print this usage message

- **-jni**

  Generate JNI header file (default)

- **-o** FILE

  Specify an output file, cannot be used with **-d**

- **-stubs**

  Generate an implementation stub file

- **-verbose**

  Enable verbose output

## SEE ALSO

**java**(1), **javac**(1), **javadoc**(1), **javap**(1), **jdb**(1)
