Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Version: 1.0 Posted: 2003-01-14 Build Requirements: Mac OS X, Project Builder Runtime Requirements: Mac OS X, Project Builder Download Sample (JNISample.zip, 71.2K) |
||||
DescriptionThis project is deprecated. Please see MyFirstJNIProject Sample Code instead. A demonstration of a Java application built in ProjectBuilder that calls native code through JNI and calling a dylib from a JNI library. Changes since 2.0 Set install location for dylib. Changes since 1.2 Remove the GUI to make the example simpler Added Makefile to show how to build from the command line. Show how to call into a dylib from a JNI library. Changes since 1.1 Use the BUNDLE flag in the LIBRARY_STYLE build settings. Changes since 1.0 The doJavah Shell script that's run javah to create the jni header file (JNIOut.h) for JNIOut.c. This shell script is run in the "Shell Script Build Phase" of the JNIout Target. The "Copy Files Build Phase" of the JNISample target which copies the libJNIOut.jnilib into the JNISample.app bundle. Document Revision History
|
|