One potential issue here... passing null for the final arg will not support the classpath (for a 'lib' directory) in the case of a packaged (directory rather than simple file based) Module.