I am new to java...
I have a problem while trying to call external executable file from java...
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec("cmd /c terminal.e开发者_开发技巧xe");
while trying to call this getting below error..
Exited with error code 1
Are you sure your terminal.exe
is in the Windows path?
You can try and replace it with notepad.exe
, for example, to see if it works.
精彩评论