There may be other problems with your build script then. Your code effectively puts nothing on the compile class path, because there isn’t any single file or directory named ‘"/C:/path/to/dir;/C:/path/to/jar/myJar.jar;…"’. Unless ‘myClasspath’ isn’t a String, but a collection of Strings (but it doesn’t look like it).