Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rhino is an open-source implementation of JavaScript written entirely in Java
C++ Java JavaScript C Perl Shell Other

Rhino: JavaScript in Java


Rhino is an implementation of JavaScript in Java.


Rhino is licensed under the MPL 2.0.


Rhino 1.7R5 January 29, 2015
Rhino 1.7.6 April 15, 2015

Release Notes for recent releases.

Compatability table which shows which advanced JavaScript features from ES5, 6, and 7 are implemented in Rhino.


Information for script builders and embedders:

JavaDoc for all the APIs:

More resources if you get stuck:


Status of "master" branch

Java 6
Java 7
Java 8

How to Build

Rhino builds with Ant. Here are some useful tasks:

ant jar

Build and create "js.jar" in the build/VERSION directory.

ant junit-all

Build and run all the tests.

ant help

to find out about the rest.


Rhino can run as a stand-alone interpreter from the command line:

java -jar build/rhino1_7R5pre/js.jar
Rhino 1.7 release 5 PRERELEASE 2015 01 28
js> print('Hello, World!');
Hello, World!

You can also embed it, as most people do. See below for more docs.


Most issues are managed on GitHub:

More Help

The Google group is the best place to go with questions:!forum/mozilla-rhino

Something went wrong with that request. Please try again.