> Sabyasachi Gupta wrote:
>
> Sorry my file had got cut earlier..I am sending the entire snippent now.
>
>
> Hi,
>
> Can anyone tell me the exact requirements for loading a jvm?
>
> Do you require Classpath to be set before loading the jvm.
>
> My code says Cannot load jvm unrecognized option
>
> Code snippets are welcome
>
> thanks
Dot isn't a valid option, is it? My book doesn't use that
in its examples. What's it for?
> options[0].optionString = ".";
>
> options[1].optionString = "-Djava.compiler=NONE";
>
> vm_args.version = JNI_VERSION_1_2;
>
> vm_args.options = options;
>
> vm_args.nOptions = 2;
>
> vm_args.ignoreUnrecognized = JNI_FALSE;
>
> result = JNI_CreateJavaVM(
>
> &jvm,(void **)&env, &vm_args);
>
--
Joi Ellis Software Engineer
Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]