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.rmic/sun.rmi.rmic.Main - "rmic" Command
How to run "rmic" command from JDK lib\modules JImage file?
✍: FYIcenter
"rmic" command allows you to run the RMI (Remote Method Invocation) compiler.
"rmic" command is supported by the jmods\jdk.rmic.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "rmic" command 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.rmic/sun.rmi.rmic.Main Usage: rmic <options> <class names> where <options> includes: -keep Do not delete intermediate generated source files -keepgenerated (same as "-keep") -v1.1 Create stubs/skeletons for 1.1 stub protocol version (deprecate d) -vcompat Create stubs/skeletons compatible with both 1.1 and 1.2 stub protocol versions (deprecated) -v1.2 (default) Create stubs for 1.2 stub protocol version only (depr ecated) -iiop Create stubs for IIOP. When present, <options> also includes: -always Create stubs even when they appear current -alwaysgenerate (same as "-always") -nolocalstubs Do not create stubs optimized for same proc ess -idl Create IDL. When present, <options> also includes: -noValueMethods Do not generate methods for valuetypes -always Create IDL even when it appears current -alwaysgenerate (same as "-always") -g Generate debugging info -nowarn Generate no warnings -nowrite Do not write compiled classes to the file system -verbose Output messages about what the compiler is doing -classpath <path> Specify where to find input class files -bootclasspath <path> Override location of bootstrap class files -d <directory> Specify where to place generated class files -J<runtime flag> Pass argument to the java interpreter
Note that RMI (Remote Method Invocation) compiler has been removed from JDK 17.
⇒ jdk.rmic/sun.tools.javac.Main - Compiler Tool
⇐ jdk.jstatd/sun.tools.jstatd.Jstatd - "jstatd" Command
2020-01-21, ∼2164🔥, 0💬
Popular Posts:
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...