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, ∼2209🔥, 0💬
Popular Posts:
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
JDK 17 java.naming.jmod is the JMOD file for JDK 17 Naming module. JDK 17 Naming module compiled cla...
What Is jms.jar? I heard it's related to JMS (Java Message Service) 1.1? The if you have an jms.jar ...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...