Add new document on scripting java.

git-svn-id: svn://10.0.0.236/trunk@141746 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nboyd%atg.com 2003-04-24 13:14:00 +00:00
parent 6d29f4cc25
commit 08dd2e6c80
3 changed files with 1499 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -88,9 +88,14 @@ Scripting Languages for Java</a>
<table width="100%">
<tbody>
<tr>
<td><a href="scriptjava.html">Scripting Java</a>
<td><a href="ScriptingJava.html">Scripting Java</a>
</td>
<td>How to use Rhino to script Java classes.</td>
</tr>
<tr>
<td><a href="scriptjava.html">Scripting Java</a>
</td>
<td>How to use Rhino to script Java classes (an older treatment).</td>
</tr>
<tr>
<td><a href="perf.html">Performance Hints</a>

View File

@ -36,7 +36,7 @@ a command line.
file, <tt>js.jar</tt>. If you add the JAR file to your class path, you
can start the Rhino shell using the command
<pre>&nbsp;&nbsp;&nbsp; java org.mozilla.javascript.tools.shell.Main</pre>
or if you have Java 2 (JDK 1.2), you can avoid changing your classpath
or if you have Java 2 (JDK 1.2 or greater), you can avoid changing your classpath
and simply use the command
<pre>&nbsp;&nbsp;&nbsp; java -jar js.jar</pre>
Unfortunately the <tt>-jar</tt> option to <tt>java</tt> will overwrite