> I'm running on Windows 2K Pro, loading a JAR file with VC++ 6.0
>
> Here's the code inside the methods which loads the JVM and tries to
> locate the classes....
I haven't really been following this thread, but I believe the answer
to your original question (which JVM will run) depends on how you link
your launcher to the appropriate libraries that the JVM consists of.
You can either specify link options when you build the launcher, or
rely on e.g. PATH or registry settings at runtime. I am not a windows
user so I can't give more specific advice here, but this might give
you an idea of what to look for.
One other thing, probably unrelated:
> JavaVMOption options[3]; // java command line options needed
[...]
> vm_args.options = options;
> vm_args.nOptions = 4;
I count only three.
/gordon

Signature
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
Tim Wong - 24 Jun 2005 16:25 GMT
Success...I changed the PATH var to point to a newer JVM than what was
currently pointing to. The funny thing I'm not sure I understand was
why it told me my JVM was 1.5...when it really wasn't.
Thanks All!