Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
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, 1292👍, 0💬
Popular Posts:
XMLSchema, Release 1.4.2, is a lightweight Java object model that can be used to manipulate and gene...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...