To use this nativ profiling code, you need to set the environment variable LD_LIBRARY_PATH to point to the directory 'lib'. For example: setenv LD_LIBRARY_PATH ~wgg/WWW/JavaProf/lib You need a more general solutoin if you have more than one directory in your dynamic linking path.