JavaParameters (String mainClass) { JavaParameters parameters = new JavaParameters(); parameters.getClassPath().add(getAppOutputPath()); parameters.setMainClass(mainClass); parameters.setJdk(JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk()); parameters.setWorkingDirectory(getTestAppPath()); return parameters; }