Web lists-archives.com

Re: [Mingw-msys] Linking to wsock32




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 <scalande@xxxxxxxxx>
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys