title: java - Compile code on client side without JDK
body: <p>I have a question which I'm pretty confused from. </p>
  
  <p>I am aware of the differences between <strong>J</strong>ava <strong>R</strong>untime <strong>E</strong>nviroment and <strong>J</strong>ava <strong>D</strong>evelopement <strong>K</strong>it.</p>
  
  <p>I'm writing a program that uses the <code>ToolProvider.getSystemJavaCompiler()</code> method to compile java code from within the code.</p>
  
  <p>Now, I've been answered that I can't compile code from client side if my client doesn't have JDK installed. My main question is, <strong>how</strong> can I do that? I don't want my clients having to install JDK on their computer just to run my program.</p>
  
  <p>Thanks in advance!</p>