Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Using Rhino JSR-223 engine with JDK8

Why?

Mozilla Rhino based JSR-223 (javax.script) engine has been removed in Oracle's JDK8 implementation. But OpenJDK8 and Oracle JDK8 implementation have nashorn replacementIn JDK8, Nashorn engine replaces Rhino based jsr-223 engine. It is recommended that you migrate your script application to Nashorn. But, to have time to migrate your JavaScript code to nashorn, you may want to stick to Rhino based jsr-223 implementation on jdk8 (as interim solution). If this is so, this document is for you.

...