I am just writing a simple hello world
java program using native c code. I am actually trying to get the program on
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html to work. My problem is when I try to create a shared library. I am on a solaris platform and it says to create a shared library on solaris the command is
cc -G -I/usr/local/java/include -I/usr/local/java/include/solaris \
HelloWorldImp.c -o libhello.so
I have substituded my path for (/usr/local/java) and I am not getting the shared library file libhello.so as output. Anyone have any idea what I am talking about? Thanks.