jdk.jdi/com.sun.tools.example.debug.expr.ExpressionParser - Expression Parser

Q

How to run "jdk.jdi/com.sun.tools.example.debug.expr.ExpressionParser" tool from JDK lib\modules JImage file?

✍: FYIcenter

A

"jdk.jdi/com.sun.tools.example.debug.expr.ExpressionParser" tool allows you to parse a Java expression.

"jdk.jdi/com.sun.tools.example.debug.expr.ExpressionParser" tool is supported by the jmods\jdk.jdi.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.

You can run the "jdk.jdi/com.sun.tools.example.debug.expr.ExpressionParser" tool 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.jdi/com.sun.tools.example.debug.expr.ExpressionParser

Java Expression Parser:  Reading from standard input . . .

 

jdk.jdi/com.sun.tools.example.debug.tty.TTY - "jdb" Command

jdk.jdeps/com.sun.tools.jdeps.Profile - JDeps Profiler

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2019-09-04, 248👍, 0💬