title: How to execute scala code using java
body: <p>I am new to <code>scala</code>. I have a requirement to execute the scala class using java.</p>
  
  <p>My exact requirement is: I need to pass the entire scala class (file) as an argument to the java <code>jar</code>. That <code>jar</code> should read the <code>scala</code> code and execute it. I have searched many sites but did not find the appropriate answer. Is there any way to do the same?</p>
  
  <p>Thank you in Advance.</p>