The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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-1999 The Mozilla Organization.
Last modified June 10, 1999.