Previous


Generating a Stub

UNIX
% javah -stubs HelloWorld
DOS shell (Windows 95/NT)
C:\> javah -stubs HelloWorld
MacOS
Drag the HelloWorld.class file onto the JavaH icon. This creates a file called HelloWorld.stubs in the same folder as JavaH. This also creates a file HelloWorld.h in the same folder as JavaH. This file was described in Step 3: Create the .h File. Move both files into your working folder.


Previous