This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
CNI Segfault
- From: Andrew Haley <aph at redhat dot com>
- To: Daniel Hanlon <daniel dot hanlon at man dot ac dot uk>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 16 Feb 2004 15:42:39 +0000
- Subject: CNI Segfault
- References: <200402161510.15263.daniel.hanlon@man.ac.uk>
Daniel Hanlon writes:
> Hello,
>
> I'm using gcj from gcc 3.3.2(20031218) on compiled with CFLAGS
> -O3 -march=pentium4 -pipe -fomit-frame-pointer
>
> Whilst simple java classes work I'm getting a segmentation fault when I try to
> use CNI to call java from C++. For example
Have you read the "Invocation" section in gcj.info?
Hint: JvCreateJavaVM.
Andrew.