This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gnat and gcj
- From: Tom Tromey <tromey at redhat dot com>
- To: "Stumme, Shawn" <Shawn dot Stumme at trw dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: 12 Aug 2002 11:28:32 -0600
- Subject: Re: gnat and gcj
- References: <77A645AA6D90F94498B996D8D0DF3DD502D7E4@RMTVA-XVC01.info.trw.com>
- Reply-to: tromey at redhat dot com
>>>>> "Shawn" == Stumme, Shawn <Shawn.Stumme@trw.com> writes:
I didn't see a resposne to this.
Shawn> I've got a Java program that I'd like to be able to call and
Shawn> interact with from an Ada program. Do you have any suggestions
Shawn> on how to be able to get the gnat compiler to correctly link to
Shawn> the gcj compiled Java? Or is it only possible to access the
Shawn> Java by using the JNI and invoking the JVM?
You can also use CNI and the CNI Invocation API. I believe this is
documented in the manual (though I haven't checked).
As far as I know nobody has ever tried to make Ada and gcj work
together. So you'll have to experiment...
Tom