Sidebar

Does QIE run under Java 8?

0 votes
620 views
asked Nov 3, 2014 by ron-s-6919 (4,480 points)
Java 8 has been released to the general public.  Does the Qvera Interface Engine run under Java 8?

1 Answer

0 votes
QIE version 2.0.39 and earlier is not fully supported under Java 8.  QIE version 2.0.40 and later is fully supported under Java 8.
 
The Qvera Interface Engine relies on the JavaScript engine that is part of Java.  With Java 8, the JavaScript engine was updated to a newer and more efficient version.  Unfortunately, the newer JavaScript engine handles some things a little differently than the JavaScript engine in Java 7 and earlier.
 
The following features in QIE will not work correctly in Java 8 unless you are running QIE version 2.0.40 or later:
 
  • Any custom mapping functions that call the Rhinoscript engine importPackage() or importClass() functions.
  • Any custom mapping functions that call the QIE message.discard() function.
  • Any sender acknowledgment scripts that call the qie.throwSendError() function.
 
The following changes may affect other custom mapping functions:
 
  • If the function XXXX cannot be found on an object, the error is now reported as 'has no such function "XXXX"' instead of 'TypeError: Cannot find function XXXX'.
  • If the attribute XXXX cannot be found on an object, the error is now reported without the trailing period as 'ReferenceError: "XXXX" is not defined'
  • When calling the csvMessageModel.getSeparator() function, the result is returned as a java.lang.Character instead of a number.  The script can use the isNaN() function to determine if the getSeparator() function returned a number or a java.lang.Character and handle it appropriately.
 
For additional information on which version of JavaScript is supported by QIE, please refer to this question: https://www.qvera.com/kb/index.php/118/what-version-of-javascript-does-qie-support
answered Nov 3, 2014 by ron-s-6919 (4,480 points)
...