voici un code qui est censé tourner, mais il a cette erreur que je ne comprends pas: error executing C:\glpsol --math antichaine.mod --output antichaine.txt

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
Public void tourner(){
Runtime r = Runtime.getRuntime();
		  Process p = null;
		  String cmd[] = { "C:\\glpsol --math antichaine.mod --output antichaine.txt"};
		  try {
		      p = r.exec(cmd);
		  } catch (Exception e) {
		      System.out.println("error executing " + cmd[0]);
		  }
 
	}