Running Java from VC++

Does anyone know how to run java program from Visual C++?
[71 byte] By [shahidah] at [2007-9-26 1:21:41]
# 1
I would look into the CreateProcess() function within VC++. Try to avoid WinExec() if you can.
Xavier3742 at 2007-6-29 0:57:42 > top of Java-index,Core,Core APIs...
# 2

shahidah wrote:

> Does anyone know how to run java program from Visual

> C++?

Well, the previous suggestion of using CreateProcess is wrong. You'll want to examine the "Invocation API" which is part of the JNI API. In particular, you'll want to use the function, JNI_CreateJavaVM.

God bless,

-Toby Reyelts

rreyelts at 2007-6-29 0:57:42 > top of Java-index,Core,Core APIs...