{"id":5036,"date":"2014-03-30T18:12:50","date_gmt":"2014-03-30T18:12:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/java-runtime-execcommand-doesnt-work-in-win2k8-r2-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:12:50","modified_gmt":"2014-03-30T18:12:50","slug":"java-runtime-execcommand-doesnt-work-in-win2k8-r2-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/java-runtime-execcommand-doesnt-work-in-win2k8-r2-collection-of-common-programming-errors\/","title":{"rendered":"Java Runtime.exec(COMMAND) doesnt work in win2K8 R2-Collection of common programming errors"},"content":{"rendered":"<p>You can run the program manually from the command line. You can run the program from within the parent process using the full path specification. I would say we can assume the program runs properly.<\/p>\n<p>What else could be different? The environment the parent process is running under perhaps? I would check the PATH before launching the process. You are using Java. Too many Java <strong>programs<\/strong> use batch files to launch the JVM process. This batch file could be mucking with the PATH variable.<\/p>\n<p>If this is your program and no batch file in involved I would check the current working directory when you run the parent program. It could affect what gets found at runtime as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can run the program manually from the command line. You can run the program from within the parent process using the full path specification. I would say we can assume the program runs properly. What else could be different? The environment the parent process is running under perhaps? I would check the PATH before [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5036","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5036"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5036\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}