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