Catch is executing
java.io.IOException: Cannot run program ""C:/Documents": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at download.main(download.java:31)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 5 more
Sucssesfull Execution
Hi, i am new to
java and trying to download a Microsoft Office file but i am getting the avove mentioned exception. Please tell me where and what is the mistake and how to solve it