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