Thanks for the help. I guess I didn't understand the parameters properly on the MSDN page.
The correct code to launch it turns out to be:
Code:
CreateProcess(NULL,"javaw -jar \"C:\\PATH TO FILE\\JAVAAPP.jar\"",NULL,NULL,
FALSE,0,NULL,NULL,&startupInfo,&processInfo);
But I was trying to split up the java executable and the arguments incorrectly as:
Code:
CreateProcess("javaw", "-jar \"C:\\PATH TO FILE\\JAVAAPP.jar\"",NULL,NULL,
FALSE,0,NULL,NULL,&startupInfo,&processInfo);
Thanks again for the help. =]