can load from URL wout --scripting?
sundararajan.athijegannathan at oracle.com
Mon Apr 7 03:07:58 UTC 2014
load is available always - regardless of -scripting option. If you are
running under security manager, your app's permissions to resolve/read a
URL will apply. Also, make sure that you can reach beyond your proxy, if
i.e., you can download that .js file from your Java code at all, you
should be able to use 'load' to download and execute that script.
On Sunday 06 April 2014 10:43 AM, James Ladd wrote:
> 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.
More information about the nashorn-dev