// Add the jars from runtime/lib
File libDirectory = runtimePath.append("lib").toFile();
if (libDirectory != null && libDirectory.exists()) {
for (File file : libDirectory.listFiles()) {
IPath path = new Path(file.getPath());
String name = path.lastSegment();
String extension = path.getFileExtension();
// Only include jaxb, jaxws and jsr API JARs
if (!"jar".equals(extension)) {
continue;