'require' support in Nashorn

Baq Haidri baqhaidri at gmail.com
Fri Jan 17 15:18:02 PST 2014

Hey Nashorn-devs,

There were some messages that floated by on this mailing list about
'require' support in Nashorn.  I saw that Tim Fox was trying to implement
something and ran into scoping issues.  I was wondering if this was still
in development and whether it would ship with Nashorn, much the Node ships
with CommonJS?  As it is it's a bit of a pain to get scripts loaded into
the Nashorn REPL environment for playing around.

Any info is much appreciated!


More information about the nashorn-dev mailing list