how to reference tools.jar from an executable jar
<p>say I am doing this:</p>

<pre><code>java -jar someJar
</code></pre>

<p>"someJar" needs to reference tools.jar (for jsp compilation).  I don't want to bundle tools.jar inside of someJar because I am afraid of a incompatibility with the executing JVM.  I can't specify -classpath because it is ignored when -jar is used.  I tried -Djava.ext.dirs and that did not work.  Does anyone have an idea on how I can reference tools.jar from an executable jar?</p>
