How to I use ProcessBuilder to execute a cmd with command
807606Feb 17 2007 — edited Feb 23 2007Hi,
Anyone know how to use processbuilder to run a jar file? I've tried runtime() but it doesn't work, giving me exitValue = 128. I've checked what does 128 means, it state that there are no child processes. Therefore, I'm trying to switch to processbuilder, but I'm not sure how to do it.
Can someone show me an example?
Your help will be greatly appreciated!
Thanks!