Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JavaScript Shell in Rhino JavaScript 1.7R5
How the use the JavaScript Shell provided in Rhino JavaScript 1.7R5? I have Rhino 1.7R5 installed.
✍: FYIcenter
The JavaScript Shell is a command line tool provided in Rhino JavaScript 1.7R5
allows you to run enter JavaScript code and get it executed immediately.
Here is how to use the JavaScript Shell, if you have Rhino 1.7R5 installed:
>\fyicenter\jdk-1.8.0\bin\java -jar \fyicenter\rhino1_7R5\js.jar
Rhino 1.7 release 5 2015 01 29
js> Math.PI;
3.141592653589793
js> System.out.println("Hello World!");
js: uncaught JavaScript runtime exception: ReferenceError: "System" is not defined.
js> java.lang.System.out.println("Hello World!");
Hello World!
js> load("Hello.js");
Hello, welcome to FYIcenter.com!
js> <Ctrl-C>
>
⇒ What Is Rhino JavaScript rhino1_7R3.zip
⇐ What Is js.jar in Rhino JavaScript 1.7R5
2017-08-21, ∼2576🔥, 0💬
Popular Posts:
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
Apache Avalon began in 1999 as the Java Apache Server Framework and in late 2002 separated from the ...
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...