This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: swt controlexample


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]