Rhino.
Rhino: JavaScript for Java.
Here is the list of declaration for js. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.5R3</version> </dependency>
If you think this Maven repository POM file listing for js is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Mozilla Public License version 1.1
URL: http://www.mozilla.org/MPL/MPL-1.1.html.
The following packages are defined in the js-1.5R3.jar
org.mozilla.classfile org.mozilla.javascript org.mozilla.javascript.debug org.mozilla.javascript.optimizer org.mozilla.javascript.regexp org.mozilla.javascript.serialize org.mozilla.javascript.tools org.mozilla.javascript.tools.debugger org.mozilla.javascript.tools.idswitch org.mozilla.javascript.tools.jsc org.mozilla.javascript.tools.shell
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.5R3</version> <packaging>jar</packaging> <name>Rhino</name> <url>http://www.mozilla.org/rhino/</url> <description>Rhino: JavaScript for Java</description> <licenses> <license> <name>Mozilla Public License version 1.1</name> <url>http://www.mozilla.org/MPL/MPL-1.1.html</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:cvs:pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot:mozilla/js/rhino</connection> <url>http://lxr.mozilla.org/mozilla/source/js/rhino/</url> </scm> </project>