readFully is defined only in "scripting" mode. If you are using 'jjs' tool, use

jjs -scripting yourscript.js

When you are using jsr223 API to access nashorn programmatically 'scripting' mode is enabled by default.

-Sundar

On Tuesday 10 December 2013 04:40 PM, buddhi mihara wrote:
global function readfully() is not working it is giving an error<shell>:1 ReferenceError: 
"readFully" is not defined
thank you buddhi nipun                                          

Reply via email to