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, ∼2301🔥, 0💬
Popular Posts:
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
JDK 11 jdk.xml.dom.jmod is the JMOD file for JDK 11 XML DOM module. JDK 11 XML DOM module compiled c...
Java Advanced Imaging (JAI) is a Java platform extension API that provides a set of object-oriented ...
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...
What Is poi-5.2.3.jar? poi-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an...