I'm trying to start a server (written in java) from within a C++ application.

I've tried CreateProcess, which I think starts the server, but then stops once the CreateProcess returns.

I think I'm mixing apples and oranges here...or I'm missing one key component (maybe on the server side).

Any help or thoughts on this topic would be greatly appreciated.

Thanks.