Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Rhino JavaScript Example - RunScript.java
How to run Rhino JavaScript Example, RunScript.java?
✍: FYIcenter.com
RunScript.java is an example program provided in the
rhino-Rhino1_7_14_Release.zip package.
It allows you to run JavaScript statements in a single command line.
Here is how to use RunScript.java, if you have rhino-runtime-1.7.14.jar installed:
fyicenter> cd rhino-Rhino1_7_14_Release rhino-Rhino1_7_14_Release> cd examples examples> java -cp ../../rhino-runtime-1.7.14.jar RunScript.java "Math.PI;" 3.141592653589793 examples> java -cp ../../rhino-runtime-1.7.14.jar RunScript.java 'function p2k(p) {return p*0.453592;} p2k(5.0);' 2.26796
⇒ Rhino Tool - JavaScript Compiler
⇐ Rhino JavaScript Example - Shell.java
2022-04-13, 600🔥, 0💬
Popular Posts:
maven-settings-builder-3 .8.6.jaris the JAR file for Apache Maven 3.8.6 Settings Builder module. Apa...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
JRE 8 deploy.jar is the JAR file for JRE 8 Java Control Panel and other deploy tools. JRE (Java Runt...