Found a possible and working solution: var myImports = new JavaImporter(java.lang, java.util); with(myImports) { // your command to execute var command = "wget -O/dev/null -q http://deepblack:9000/status.html?p0=pause"; // execute your command mcApi.osCommandExecuter().executeLinuxCommand(command); } Thanks for MyController, it's really great! Joost