Win a copy of Rust Web Development this week in the Other Languages forum!

Shantanu Nandan

Greenhorn
+ Follow
since Nov 27, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shantanu Nandan


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
7 years ago