Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ECMAScript runtime for the JVM
Failed to load latest commit information.
bin remove extra echo from the launcher
src fix and unit test for parsing long numbers in JSON.Parse
support folder shuffle
.gitignore Merge with master
.travis.yml Use the new build env on Travis
LICENSE remove license file extension
README.markdown Fix small typo in README.
pom.xml

README.markdown

dynjs - ECMAScript Runtime for the JVM

Build Status

cloudbees rocks!

Bug Reports

We're using GitHub Issues. Please let us know what issues you find!

Setting up environment

Getting JDK7

OSX can get information on installing at the java site.

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)

Getting started

Building from sources

  1. git clone https://github.com/dynjs/dynjs.git && cd dynjs
  2. mvn install -s support/settings.xml

Download

Alternatively download the latest dynjs dist zip package from our CI job, then unpack it somewhere. As a convenience, you can symlink bin/dynjs to some directory enlisted on your $PATH, it should work fine!

Running

Run ./bin/dynjs --console for the REPL and try the snippet below:

var x = 1 + 1;
print(x);

For more options, run ./dynjs --help.

Something went wrong with that request. Please try again.