This works for me with plain jjs command:

jjs> load("https://raw.github.com/lodash/lodash/2.4.1/dist/lodash.js";);

Maybe it has something to do with your proxy settings. Did you test whether cURL/wget or similar command line tool work with the same URL? This might be useful:

http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html

Hannes

Am 2014-04-06 07:13, schrieb James Ladd:
Nashorners,

Can I call load() with a URL without the --scripting extensions?

I'm running JDK8 and default Nashorn environment and I want to
use load() to load a URL but it appears to just hang.

Are there security permissions to be enabled to allow load of URL's?

- James.
                                        

Reply via email to