how to specify options when using JavaCompiler interface
<pre><code> JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
        compiler.run(null, null, null, "cp", System.getProperties().getProperty("java.class.path"), sourceFile.getPath());
</code></pre>

<p>this not work, how  to pass classpath option to JavaCompiler instance ?</p>
