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.jshell/jdk.internal.jshell.tool.JShellToolProvider - "jshell" Command
How to run "jshell" command from JDK lib\modules JImage file?
✍: FYIcenter
"jshell" command allows you to run JShell interactively.
"jshell" command is supported by the jmods\jdk.jshell.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "jshell" command 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.jshell/jdk.internal.jshell.tool.JShellToolProvider | Welcome to JShell -- Version 11.0.1 | For an introduction type: /help intro jshell> System.out.println("Hello world!"); Hello world! jshell> 1+2; $1 ==> 3 jshell>Ctrl-D
Â
⇒ jdk.jstatd/sun.tools.jstatd.Jstatd - "jstatd" Command
⇠jdk.jlink/jdk.tools.jmod.Main - "jmod" Command
2019-05-14, 1297👍, 0💬
Popular Posts:
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
pache Derby is an open source relational database implemented entirely in Java and available under t...
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...