Execute java code on a server
<p>I'm developping a Web app, a sort of an online IDE to write and compile code. The programming language is developped internally at the university  and also the compiler.</p>

<p>My question is : is it possible to execute a compiler on a server ( the compiler is written in java ), so that it compiles the code and returns a compiled file to be downloaded ?</p>

<p>In a simpler fashion, the user uses the online code editor, then clicks on the compile button, the server takes the written code, executes the compiler which is on ther server ( the compiler is written in java ) and then returns the compiled file.</p>

<p>So how could i execute the compiler ( written in java ) on the server ?</p>

<p>Thank you in advance !</p>