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.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:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\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
Â
⇒ jdk.rmic/sun.tools.javac.Main - Compiler Tool
⇠jdk.jstatd/sun.tools.jstatd.Jstatd - "jstatd" Command
2020-01-21, 1152👍, 0💬
Popular Posts:
Apache BCEL Source Code Files are inside the Apache Ant source package file like bcel-6.5.0-src.zip....
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...