Re: [Problem with JNI_CreateJavaVM()]

1999-09-21 Thread Juergen Kreileder
> Ted Neward writes: Ted> Pierre, I'm running RH5.2 and Blackdown 1.2-pre-v2, and the Ted> code compiled (I had to add the "-I" include directives, Ted> though--your g++ command-line below was missing those, but Ted> that would yield a compile-time error, and not a run-time

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread Ted Neward
don't even speak for myself; my wife won't let me." --Me -Original Message- From: William D.Webb <[EMAIL PROTECTED]> To: Pierre Heroux <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, September 20, 1999 12:27 PM Subject: Re: [Prob

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread Juergen Kreileder
> Pierre Heroux writes: Pierre> I have a "Segmentation fault (core dumped)" message when I Pierre> execute the following source. Pierre> jint res = JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args); /*debugger Pierre> message : Program received signal SIGSEGV, Segmentation fa

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread jools enticknap
Hi Add the JNIGetDefaultJavaVMInitArgs, plus you need to add your class path to vm_args.classpath I have a C++ class which does all this for you, email me off list and I'll send it to you. Regards --Jools >From: Pierre Heroux <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Problem

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread William D.Webb
Dude, you want us to write the code for you as well?? Pierre Heroux <[EMAIL PROTECTED]> wrote: > I have a "Segmentation fault (core dumped)" message when I execute the > following source. > > #include > #include > > int main() > { > const int nOpts = 4; > JavaVMOption options[nOpts]; >