I found that Java 6 includes Rhino JS (except for one or two minor pieces), as javax.script
. Pretty cool!
Does a Java 6 install (JRE or JDK, either) contain a binary that I can simply point to a .js file to run? (I think it would be great to be able to provide source code for others to read and run, without compilation, and require only that Java be installed.) Or do I have to build the little 8-line program in the docs?