initialization (again)

Nic Ferrier nferrier@tapsellferrier.co.uk
Thu Feb 7 20:18:00 GMT 2002


A while ago we had a discussion about gij argument parsing.

I was saying that I'd written a non-getopt arg parser that could
possibly be used to make a sun-java-tool compliant gij.

The discussion branched off into how gij should initialize the
vm. I'm seeking clarification of that discussion so that I can get on
with the new version of gij.


The current version calls Jv_RunMain with the class to run (the main
class) and a half mangled argv.

Some of you were saying that gij shouldn't invoke the VM this way,
but instead should call the new-ish _Jv_CreateJavaVM.

Here are my questions:

- should there be a Jv_CreateJavaVM which calls _Jv_CreateJavaVM ?

- if gij were to call _Jv_CreateJavaVM how would it pass the argv to
  it?

- should Jv_CreateJavaVM have arguments for recieving the argv?



Thanks.


Nic



More information about the Java mailing list