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:
parent
6d29f4cc25
commit
08dd2e6c80
1492
mozilla/js/rhino/docs/ScriptingJava.html
Normal file
1492
mozilla/js/rhino/docs/ScriptingJava.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||
|
||||
@ -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> 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> java -jar js.jar</pre>
|
||||
Unfortunately the <tt>-jar</tt> option to <tt>java</tt> will overwrite
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user