Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
jdk.scripting.nashorn/jdk.nashorn.tools.Shell - JavaScript Shell Tool
How to run "jdk.scripting.nashorn/jdk.nashorn.tools.Shell" tool from JDK lib\modules JImage file?
✍: FYIcenter
"jdk.scripting.nashorn/jdk.nashorn.tools.Shell" tool allows you to run the Nashorn JavaScript Engine interactively.
"jdk.scripting.nashorn/jdk.nashorn.tools.Shell " tool is supported by the jmods\jdk.scripting.nashorn.shell.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "jdk.scripting.nashorn/jdk.nashorn.tools.Shell " tool using the lib\modules JImage file as described below using JDK 11 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\fyicenter>%JDK_HOME%\bin\java --module jdk.scripting.nashorn/jdk.nashorn.tools.Shell Warning: The jjs tool is planned to be removed from a future JDK release jjs> print('Hello World!'); Hello World! jjs> 1+2 3 jjs> quit()
⇒ jdk.scripting.nashorn.shell/jdk.nashorn.tools.jjs.Main - "jjs" Command
⇐ jdk.rmic/sun.tools.javac.Main - Compiler Tool
2019-05-14, 795👍, 0💬
Popular Posts:
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
JDK 11 jdk.charsets.jmod is the JMOD file for JDK 11 Charsets module. JDK 11 Charsets module compile...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...