|
From: S. C. <sca...@gm...> - 2008-10-28 15:00:12
|
Yeaaah I've found the solution
The solution is :
Runtime r=Runtime.getRuntime();
r.loadLibrary("mingwm10"); // you have to put mingwm10.dll in the
java.library.path
Process proc = r.exec(commande);
Byebye!
Stéphane
2008/10/28 Stéphane CALANDE <sca...@gm...>
> Hi,
>
>
> I have used CMake, MSys and Mingw to create some programs.
>
> I am now working on a JAVA project in Eclipse and I'd like to execute these
> ******.exe with a :
>
> Runtime.getRuntime().exec(program.exe);
>
>
> But it doesn't work.
>
> Do you have an idea to resolve that problem?
>
> You would really help me... Any help is appreciated...
>
>
> Thank you very much in advance.
>
>
> Stéphane
>
|