Creating Shared Library: I am trying to write the HelloWorld program using JNI, but have a problem in creating the shared library.

Davanum Srinivas


Answer by Alexander Krapf Re: Creating Shared Library: I am trying to write the ... Hi Sailaja,

JNI_EXPORT and JNI_CALL are usually preprocessor macros that are defined in the platform-specific JNI header file. On Windows, that is includewin32jni_md.h, on Solaris that is include/solaris/jni_md.h. You need to have both the include and the platform specific include directory on your preprocessor include path.

Good luck,

Alex
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact