Re: How to run a java application from VC++?




"Allen" <chenal@xxxxxxxxxxx> wrote in message news:1157029591.348337.195180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a java application named mmi.jar. There is an environment
variable, i.e. MYJAVA_HOME which is my java home path.

With Windows cmd, it can run using the following commnad line:
%MYJAVA_HOME%\bin\java mmi.SetupCapture

Can I run this java application from VC++?
Pls help me. Thank you!


Sounds like what you need to do is have your VC++ application execute the above mentioned command line. The details of how to do this are specific to VC++ and are off topic in a Java newsgroup.

- Oliver

.