private static IMain initInterpreter(String interpreterClasspath) throws ClassNotFoundException {
Settings settings = new Settings();
MutableSettings.PathSetting bootClasspath = (MutableSettings.PathSetting) settings.bootclasspath();
bootClasspath.append(interpreterClasspath);
((MutableSettings.BooleanSetting) settings.usejavacp()).tryToSetFromPropertyValue("true");
return new IMain(settings, new PrintWriter(interpreterOutput));
}
private static String createInterpreterClasspath(List<String> additionalPaths) throws ClassNotFoundException {