4. Compile the Object
%cc -I$JDK_HOME/include -I$JDK_HOME/include/genunix \
-shared -o libHello.so Hello.c
%cc -I$JDK_HOME/include -I$JDK_HOME/include/solaris \
-G -o libHello.so Hello.c
Consider using a GNU port, or the upcoming batch file ...
ftp://go.cygnus.com/pub/ftp.cygnus.com/
gnu-win32/gnu-win32-b18/cdk.exe
Observe the naming convention: