This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Is this possible
- To: "Martin, David S" <david dot s dot martin at intel dot com>
- Subject: Re: Is this possible
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Tue, 17 Apr 2001 14:12:56 +1200
- Cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
On Tuesday, April 17, 2001, at 09:34 AM, Martin, David S wrote:
> After some tries I simplified my problem, just write a C++ program that
> instantiates the ReportsFrame constructor. I got the whole monster to
> compile with the command,
> gcj -o JavaTest ReportsFrame.o libGenCAM.a JavaTest.o
> when I execute the resulting binary I get a core dump.
> Any Ideas?
>
> Is possible to have a c++ class instantiate a java class and call
> methods
> from it?
Please refer to my newly added FAQ answer on this subject:
http://gcc.gnu.org/java/faq.html#6_2
regards
[ bryce ]