title: Script engine prior to Java SE 6?
body: <p>For some reason, I have to use Java 5. I started learning programming from java se 7 so i am not familiar with the old versions. </p>
  
  <p><code>javax.script</code> package, which contains the <code>ScriptEngine</code> class and <code>ScriptEngineManager</code> class does not exist in Java 5. But Rhino project was created way before Java 5. So I am wondering how to use java script engine before <code>javax.script</code> was introduced in java 6?</p>
  
  <p>(I scanned through Java se 5 API documentation. There doesn't seem to be a substitution for <code>ScriptEngine</code> class. And all the online searching result gives me the modern code.)</p>