Note that shutdown hooks will only be run if the process is terminated nicely
D'oh! That's it. For some reason, I had it in my head that terminating it from my IDE was like hitting Ctrl-C from cmd, but I can see why that wouldn't be the case and goes with what you said before about Windows not killing child processes.
Not if its not in your shell ENVIRONMENT variables
Makes sense. I guess it's not really that big of a deal to set an explicit path for this, but since the type A side of me needs to be appeased, I found that
1
| private String [] envp = new String [] {"CLASSPATH=" + System.getProperty("java.class.path")}; |
seems to work pretty well for getting the path to wherever it was launched from.
As always, thanks for the help
