Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
Collections:
Other Resources:
jdk.rmic/sun.tools.javac.Main - Compiler Tool
How to run "jdk.rmic/sun.tools.javac.Main" tool from JDK lib\modules JImage file?
✍: FYIcenter
"jdk.rmic/sun.tools.javac.Main" tool allows you to compiler a Java source code.
"jdk.rmic/sun.tools.javac.Main" tool 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 "jdk.rmic/sun.tools.javac.Main" tool 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.tools.javac.Main Usage: javac <options> <source files> where <options> includes: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -O Optimize; may hinder debugging or enlarge class files -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -target <release> Generate class files for specific VM version
Note that RMI (Remote Method Invocation) compiler has been removed from JDK 17.
⇒ jdk.scripting.nashorn/jdk.nashorn.tools.Shell - JavaScript Shell Tool
⇐ jdk.rmic/sun.rmi.rmic.Main - "rmic" Command
2019-05-14, 1612🔥, 0💬
Popular Posts:
What Is poi-ooxml-5.2.3.jar? poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which...
JDK 11 jdk.xml.dom.jmod is the JMOD file for JDK 11 XML DOM module. JDK 11 XML DOM module compiled c...
JUnit Source Code Files are provided in the source package file, junit-4.13.2-sources.jar .You can b...
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...