A partir d'un fichier .app de java
Question
Je dois lancer un appel système pour exécuter un fichier .app de java. Toutes les idées?
La solution
String cmd = "./file.app";
Runtime run = Runtime.getRuntime();
Process pr = run.exec(cmd);
pr.waitFor();
Quelque chose comme ça?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow