On Sun, May 11, 2014 at 11:18 PM, Marcelo Rodrigues Costa <[email protected]> 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
