Greetings!
In the Excersise 4.1 (Runtime class)
of the LAB-1010 Tour of java.lang.* and java.util.* classes

i changed this line
proc = rt.exec("notepad");

for this one
proc = rt.exec("msnmsgr");

an Exception was the result:

java.io.IOException: Cannot run program "msnmsgr": CreateProcess
error=2, System Can't find the especified file

why things don't work for msn messenger like for the notepad
application?
i tried
proc = rt.exec("shutdown");
as well but nothing happens
thanks a lot!

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to