swt controlexample
Jeff Sturm
jsturm@one-point.com
Sat Jan 4 05:46:00 GMT 2003
On Fri, 3 Jan 2003, Erik Poupaert wrote:
> Jeff Sturm wrote:
> >>>> I'm wondering if it would be easier to use JNIRegisterNatives and avoid
> >>>> the whole libltdl mess, at least when compliling to a single image
> (.exe)
> >>>> without any dependence on external libraries.
>> I've grepped the gcc sourcetree, and there seems no way to invoke
> RegisterNatives() from java. It seems like a purely native method:
Right. I've used it before together with JNI invocation, something like:
a) create a VM
b) load classes with native methods
c) register native methods
d) invoke the main class
Jeff
More information about the Java
mailing list