UNIX % javah -jni HelloWorld DOS shell (Windows 95/NT) C:\> javah -jni HelloWorld MacOS Drag the HelloWorld.class file onto the JavaH icon. This creates a file called HelloWorld.h in the same folder as JavaH. Move the file into your working folder.
% javah -jni HelloWorld
C:\> javah -jni HelloWorld
HelloWorld.class
HelloWorld.h