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:
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.
You can run the "jshell" command using the lib\modules JImage file as described below:
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, ∼2192🔥, 0💬
Popular Posts:
JDK 17 java.xml.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) module. JDK 17 XML...
JavaMail Source Code Files are provided in the source package file, httpcomponents-client-5. 2-src.zi...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module. JDK 11 Base module compiled class fil...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...