Java 8 comes with a different JavaScript engine ("Nashorn") to that included in Java7 ("Rhino"). As JobScheduler can use the JavaScript engine provided with Java for shell scripts, it is important that users wishing to use Java 8 in future JobScheduler versions ensure that their scripts are capable of being executed with the Nashorn engine.
Oracle have published an article describing background and features of their new JavaScript engine:
- Oracle Nashorn: A Next-Generation JavaScript Engine for the JVM.
We recommend JobScheduler users running JavaScript scripts use this article to update their scripts.
Please note that we have not yet decided when JobScheduler will become Java 8 capable but this is likely to occur towards the end of 2014. Oracle have announced that they will stop updating Java 7 after April 2015 and therefore JobScheduler versions released after that date will no longer support Java 7.