NPE = NullPointerException
Type: Posts; User: helloworld922
NPE = NullPointerException
What I meant was the solution presented in that post doesn't use external processes at all. No need to worry about any processes terminating correctly or having to parse piped output, you just get...
I don't have an XP machine to test with, but I did find this post over at stack exchange where they were able to read/write to the Windows registry without having to use JNI, reg processes, etc. It...
You shouldn't be killing the process, just wait for it to terminate normally.
p = Runtime.getRuntime().exec("command");
p.waitFor(); // waits until process p terminates