jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner - Console Runner

Q

How to run "jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner" tool from JDK lib\modules JImage file?

✍: FYIcenter

A

"jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner" tool allows you to start the Console Runner.

"jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner" tool is supported by the jmods\jdk.internal.le.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.

You can run the "jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner" tool using the lib\modules JImage file as described below using JDK 11 as an example:

fyicenter> set JDK_HOME=\fyicenter\jdk-11.0.1

fyicenter> %JDK_HOME%\bin\java --module jdk.internal.le/jdk.internal.jline.console.internal.ConsoleRunner

Usage:
   java [-Djline.history='name'] jdk.internal.jline.console.internal.ConsoleRunner 
   <target class name> [args]

The -Djline.history option will avoid history
mangling when running ConsoleRunner on the same application.

args will be passed directly to the target class name.

Note that ConsoleRunner tool is removed from JDK 17.

 

jdk.jartool/sun.security.tools.jarsigner.Main - "jarsigner" Command

jdk.hotspot.agent/sun.jvm.hotspot.utilities.RBTree - RB Tree Test

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2019-08-23, 1376👍, 0💬