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:
Run Rhino 1.7R5 JavaScript Engine under SJP API
How to run Rhino 1.7R5 JavaScript Engine under SJP (Scripting for the Java Platform) API? I have Rhino 1.7R5 and rhino-js-engine-1.7.7.1.jar installed.
✍: FYIcenter
run Rhino 1.7R5 JavaScript Engine under SJP (Scripting for the Java Platform) API, you need to install:
1. Rhino 1.7R5 Java library - Take the js.jar from the installation:
>dir \fyicenter\rhino1_7R5 01/29/2015 04:38 PM 1,142,627 js.jar
2. Rhino to SJP Wrapper library - Take the rhino-js-engine-1.7.7.1.jar from the installation:
>dir \fyicenter\ 40,771 rhino-js-engine-1.7.7.1.jar
Compile and run the example program, JavaScriptRhinoEngine.java, given the previous tutorial, with two JAR files mentioned above:
>\fyicenter\jdk-1.8.0\bin\java -cp .;\fyicenter\rhino1_7R5\js.jar;\fyicenter\rhino-js-engine-1.7.7.1.jar JavaScriptRhinoEngine Script Engines: Engine name: Oracle Nashorn Engine name: Mozilla Rhino Selected... From Mozilla Rhino: Hello world! JavaScript engine info: Engine name: Mozilla Rhino Engine version: 1.7.7.1 Language name: ECMAScript Language version: 1.7 Engine class: com.sun.phobos.script.javascript.RhinoScriptEngine Factory class: com.sun.phobos.script.javascript.RhinoScriptEngineFactory Manager class: javax.script.ScriptEngineManager
⇒ FAQ for Rhino JavaScript Java Library
⇐ What Is rhino-js-engine-1.7.7.1.jar
2017-07-17, 2079🔥, 0💬
Popular Posts:
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
How to run "jar" command from JDK tools.jar file? "jar" is the JAR (Java Archive) file management co...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...