Missing jjs on Mac OS

Ben Evans benjamin.john.evans at gmail.com
Tue May 13 11:31:40 UTC 2014


On Sun, May 11, 2014 at 11:18 PM, Marcelo Rodrigues Costa
<marcelorjava at gmail.com> wrote:
> This worked for me:
>
> Install the JDK8 and create an alias for your JDK's jjs (Nashorn
> Interpreter), e.g., if you create a file called test.js, you can run the
> program with:
>
> $ jjs test.js
>
> Mac OS = alias
> jjs=’/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/bin/jjs’

Well, yes, but that wasn't really the point.

The point is to have a well-behaved "system Java" that doesn't violate
the principle of least surprise and is cleanly upgraded.

Thanks,

Ben


More information about the nashorn-dev mailing list