How would I go about compiling code via a web app? : <p>So I'm looking to develop a online ide for Java with intellisense, but how would I go about producing a compiled class version of the source code?</p>

<p>So essentially I want to click</p>

<pre><code>(RUN)
</code></pre>

<p>then upon clicking '(RUN)' the source code in the textarea to be compiled into a class file and a download link provided for that class.</p>

<p>The inner details/features don't require a explanation, but was just used as an example of what I'm trying to achieve, what I want to know overall is how I could run a Java compiler through a web based app/website</p>
