JNI in Java 1.6

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sat, 1 Jan 2011 01:56:01 -0600

I hope someone onn this has an answer. I am creating Java bindings for a 
C library using JNI in Java 1.6. The javah program is supposed to create 
either headers or stubs. However, when I type
javah -stubs qualifiedclassname

I get the message Error: JNI does not require stubs. See the JNI 
documentation." Where is this documentation? The only thing I can find 
is for Java 1.5. If JNI does not require stubs, what does it require? 
Stubs can be very helpful in writing the C program for the bindings.

Thanks,
John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: