I have a java program that fires off an executable using the Runtime.exec() method. I\'m using the variant that takes in a set of command line params as one argument, and so
If you want to change the Path variable on windows, you should take a look at JNI_Registry: http://www.trustice.com/java/jnireg/
It's a Java binding to the Windows Registry API and comes with a very small footprint. I have used it for my current project and it works just fine.