OSX users can get it at openjdk-osx-build.
Download and install it to your user(not to the entire machine) and before running mvn install
run (or use Java7 as default compiler):
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
git clone https://github.com/dynjs/dynjs.git && cd dynjs
mvn install
Alternatively download the latest version from our CI job.
Run ./run-repl
for the REPL and try the snippet below:
var x = 1 + 1;
print(x);
For more options, run java -jar target/dynjs-all.jar --help
.