Native Method Compilation Notes

CRA 7/9/97


Include File Paths:

On Windows based PC platforms, one must set the include path to contain JDKdirectory\include and JDKdirectory\include\win32 where JDKdirectory is the directory where the Java Development Kit has been installed.

On Unix Platforms running Solaris one must set the include path to contain JAVAdirectory\include and JAVAdirectory\include\solaris where JAVAdirectory is the directory where Java has been installed.

 

Sample Makefiles for UNIX machines running Solaris:

Makefile for C++ implementation of external routines

Makefile for Fortran Implementation of external routines

Note that in both of these makefiles, the library libC is linked (via the command -lC).