// Add a selection of the jars from runtime/modules
File modulesDirectory = runtimePath.append("modules").toFile();
if (modulesDirectory != null && modulesDirectory.exists()) {
for (File file : modulesDirectory.listFiles()) {
IPath path = new Path(file.getPath());
String name = path.lastSegment();
String extension = path.getFileExtension();
// Only include API and launcher JARs
if (!"jar".equals(extension)) {
continue;