[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native Method



I have 2 other excellent resources for you.

1.  "Essential JNI" by Rob Gordon.
2.  Download the source code for the Java2 SDK from Sun.  Look at java.c and
its releated header files.  It's a huge download, but there are lots of
goodies inside.

Ed

----- Original Message -----
From: "Nicholas Frank" <nicholas.frank@s1.com>
To: "'J1'" <JJOH597126@email.msn.com>; <ajug-members@ajug.org>
Sent: Monday, July 02, 2001 16:17
Subject: RE: Native Method


Look in the java tutorial there is a full example.

Nicholas Frank

-----Original Message-----
From: J1 [mailto:JJOH597126@email.msn.com]
Sent: Monday, July 02, 2001 3:47 PM
To: ajug-members@ajug.org
Subject: Native Method


Hello all,
    I have read about java being able to use C++ in it's programs. I have a
couple of books on Java, but none explain how to use this feature. I know
that by including the keyword native along with the name of the method
invokes this process. After that, I am unclear as to what needs to be done
to finish the process. Can someone give me a simple example of this process.
Thank you for your help.