String path = System.getProperty("java.home")
+ File.separator + "bin" + File.separator + "java";
String moduleSpec = Module.DEFAULT_MODULE_NAME.equals(module) ? module : (module+"/"+version);
CeylonClasspathTool cpTool = new CeylonClasspathTool();
cpTool.setModule(moduleSpec);
cpTool.setRepositoryAsStrings(Arrays.asList(outRepo.getAbsolutePath()));
cpTool.setSystemRepository("../ceylon-dist/dist/repo");
cpTool.setNoDefRepos(true);
cpTool.setOffline(true);
StringBuilder sb = new StringBuilder();
cpTool.setOut(sb);
cpTool.run();
String classpath = sb.toString();
ProcessBuilder processBuilder =
new ProcessBuilder(path, "-cp",