Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

create process problem

  Asked By: Qadriyah    Date: Mar 28    Category: Java    Views: 577

I am trying to call another software from my java program. And the
source code is:

Runtime r = Runtime.getRuntime();
Process p = null;
try {
p = r.exec("racer.exe");
}catch (Exception e) {

The software "racer.exe" must run on MS-DOS environment and I compile
and execute my java program also in MS-DOS environment. Now the
problem is there is no error displayed when the program is complied
and executed. But actually the software "racer.exe" is not activated.
With the same piece of code, I tried to call other software running
on Windows environment and it works. I don't know what the problem.
Does it because the software and my program both runs on MS-Dos
environment? Could you please give me some ideas?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on create process problem Or get search suggestion and latest updates.