The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


Getting Started with Rhino


If you download the rhinoTip.zip file, it will contain a single JAR file, js.jar. If you add the JAR file to your class path, you can start the Rhino shell using the command

java org.mozilla.javascript.tools.shell.Main

or if you have Java 2 (JDK 1.2), you can avoid changing your classpath and simply use the command

java -jar js.jar

The shell's interactive mode is a good way to begin exploring Rhino.

Earlier versions of Rhino have two JAR files, js.jar and jstools.jar, and don't support the -jar option. Both JAR files must be added to the class path to start the shell.



back to top



Copyright © 1998 The Mozilla Organization.