c# - Start-Process with java.exe fails after java update -
we have virtual server running windows server 2012 r2. on friday version of java updated 1.8.0_27 1.8.0_40. far know, change made.
since time, can run java directly command line or in batch files, working powershell scripts use start-process start java, e.g. $process = start-process -filepath c:\programdata\oracle\java\javapath\java.exe -argumentlist $report_args -passthru -wait
give error "start-process : command cannot run because system cannot find information required." java executable started , finishes task correctly, in meantime powershell script has gone down path reporting error.
system.diagnostics.process.start (in c#) reporting failure when starting java.
any ideas on things message "start-process : command cannot run because system cannot find information required."?
Comments
Post a Comment