Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
Other Resources:
jdk.jdeps/com.sun.tools.javap.Main - "javap" Command
How to run "javap" command from JDK lib\modules JImage file?
✍: FYIcenter
"javap" command allows you to run the Java Debugger interactively.
"javap" command is supported by the jmods\jdk.jdeps.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "javap" command 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.jdeps/com.sun.tools.javap.Main Usage: javap <options> <classes> where possible options include: -? -h --help -help Print this help message -version Version information -v -verbose Print additional information -l Print line number and local variable tables -public Show only public classes and members -protected Show protected/public classes and members -package Show package/protected/public classes and members (default) -p -private Show all classes and members -c Disassemble the code -s Print internal type signatures -sysinfo Show system info (path, size, date, MD5 hash) of class being processed -constants Show final constants --module <module>, -m <module> Specify module containing classes to be disassembled --module-path <path> Specify where to find application modules --system <jdk> Specify where to find system modules --class-path <path> Specify where to find user class files -classpath <path> Specify where to find user class files -cp <path> Specify where to find user class files -bootclasspath <path> Override location of bootstrap class files GNU-style options may use = instead of whitespace to separate the name of an option from its value. Each class to be shown may be specified by a filename, a URL, or by its fully qualified class name. Examples: path/to/MyClass.class jar:file:///path/to/MyJar.jar!/mypkg/MyClass.class java.lang.Object
Â
⇒ jdk.jdeps/com.sun.tools.jdeprscan.Main - "jdeprscan" Command
⇠jdk.jconsole/sun.tools.jconsole.JConsole - "jconsole" Command
2019-09-04, 1064👍, 0💬
Popular Posts:
What Is HttpComponents httpcore-4.4.6.jar? HttpComponents httpcore-4.4.6.jar is the JAR file for Apa...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
What Is log4j-1.2.13.jar? I got the JAR file from logging-log4j-1.2.13.zip .log4j-1.2.13.jar is the ...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...