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

Q

How to run "jdk.jdeps/com.sun.tools.jdeps.Profile" tool from JDK lib\modules JImage file?

✍: FYIcenter

A

"jdk.jdeps/com.sun.tools.jdeps.Profile" tool allows you to generate a Java package dependency profile.

"jdk.jdeps/com.sun.tools.jdeps.Profile" tool 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 "jdk.jdeps/com.sun.tools.jdeps.Profile" 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.jdeps/com.sun.tools.jdeps.Profile

 1: compact1    {java.scripting=java.scripting, java.logging=java.logging, java.base=java.base}
 2: compact2    {java.rmi=java.rmi, java.sql=java.sql, jdk.httpserver=jdk.httpserver, 
                 java.logging=java.logging, java.transaction.xa=java.transaction.xa, 
                 java.xml=java.xml, jdk.xml.dom=jdk.xml.dom, java.base=java.base}
 3: compact3    {java.sql=java.sql, java.rmi=java.rmi, java.logging=java.logging, 
                 java.xml.crypto=java.xml.crypto, java.management=java.management, 
                 java.xml=java.xml, java.sql.rowset=java.sql.rowset, jdk.sctp=jdk.sctp, 
                 java.smartcardio=java.smartcardio, java.instrument=java.instrument, 
                 java.security.jgss=java.security.jgss, jdk.management=jdk.management, 
                 java.naming=java.naming, java.compiler=java.compiler, 
                 jdk.security.auth=jdk.security.auth, java.prefs=java.prefs, 
                 java.security.sasl=java.security.sasl, jdk.naming.rmi=jdk.naming.rmi, 
                 java.base=java.base, jdk.naming.dns=jdk.naming.dns}
All JDK modules:-
java.base
java.compiler
java.datatransfer
java.desktop
java.instrument
java.logging
java.management
java.management.rmi
java.naming
java.net.http
java.prefs
java.rmi
java.scripting
java.se
java.security.jgss
java.security.sasl
java.smartcardio
java.sql
java.sql.rowset
java.transaction.xa
java.xml
java.xml.crypto
jdk.accessibility
jdk.aot
jdk.attach
jdk.charsets
jdk.compiler
jdk.crypto.cryptoki
jdk.crypto.ec
jdk.crypto.mscapi
jdk.dynalink
jdk.editpad
jdk.hotspot.agent
jdk.httpserver
jdk.internal.ed
jdk.internal.jvmstat
jdk.internal.le
jdk.internal.opt
jdk.internal.vm.ci
jdk.internal.vm.compiler
jdk.internal.vm.compiler.management
jdk.jartool
jdk.javadoc
jdk.jcmd
jdk.jconsole
jdk.jdeps
jdk.jdi
jdk.jdwp.agent
jdk.jfr
jdk.jlink
jdk.jshell
jdk.jsobject
jdk.jstatd
jdk.localedata
jdk.management
jdk.management.agent
jdk.management.jfr
jdk.naming.dns
jdk.naming.rmi
jdk.net
jdk.pack
jdk.rmic
jdk.scripting.nashorn
jdk.scripting.nashorn.shell
jdk.sctp
jdk.security.auth
jdk.security.jgss
jdk.unsupported
jdk.unsupported.desktop
jdk.xml.dom
jdk.zipfs

 

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

jdk.jdeps/com.sun.tools.jdeps.Main - "jdeps" Command

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2019-09-04, 229👍, 0💬