- 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 calledHelloWorld.stubs
in the same folder as JavaH. This also creates a fileHelloWorld.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.