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.