| Author |
System.exec () returning "error2"
|
Thomas Smets
Ranch Hand
Joined: Dec 11, 2001
Posts: 111
|
|
This is a problem I found on www.artima.com & for which no answer has come out ... May be some one could help ? Tx, Thomas, <snip> Hi there, I have an issue related to trying to run a process through Runtime.exec. An IOException is thrown with the message IOException: curl not found (the command is curl). Typically if a program cannot be found through the path, the error message is "error 2" NOT "not found". This program works on my home NT Box running Resin, but does not work on the production unix server running JRun. Once upon a time it did work on the production server, but I don't know what could have changed to make it stop working. The webmasters have little idea but do not think it's a permissions problem. Has anyone experienced this before or have a suggestion on how to fix it? thank you Daniel Kirk </snip>
|
Thomas Smets
Just another developper
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
|
Perhaps the mime type is not found?? The question does not really give any hints as to how this is coded.
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
 |
|
|
subject: System.exec () returning "error2"
|
|
|