зеркало из https://github.com/mozilla/pjs.git
Add new document on scripting java.
This commit is contained in:
Родитель
adbcef8ac9
Коммит
4b1dee847c
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче