Please don't top-post. Dhiraj.Nilange@xxxxxxxxxxxxxxxxxx writes: > I am doing the following #include in my source:- > > #include <jni.h> > > And in the compilation command my include path is > -I/opt/jdk1.5/include That's strange. Directories named by `-I' are searched before the standard system include directories, so gcc should pick up the jni_md.h in /opt/jdk1.5/include. Is it there? Andrew.