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.compiler/com.sun.tools.javac.Main - "javac" Command
How to run "javac" command from JDK lib\modules JImage file?
✍: FYIcenter
"javac" is the Java compiler command that allows you to compile Java
source code into Java class binary file.
"javac" command is supported by the jmods\jdk.compiler.jmod module file, which is also linked into the lib\modules JImage file.
You can run the "javac" command using the lib\modules JImage file as described:
fyicenter> %JDK_HOME%\bin\java --module jdk.compiler/com.sun.tools.javac.Main Usage: javac <options> <source files> where possible options include: @<filename> Read options and filenames from file -Akey[=value] Options to pass to annotation processors --add-modules <module>(,<module>)* Root modules to resolve in addition to the initial modules, or all modul es on the module path if <module> is ALL-MODULE-PATH. --boot-class-path <path>, -bootclasspath <path> Override location of bootstrap class files --class-path <path>, -classpath <path>, -cp <path> Specify where to find user class files and annotation processors -d <directory> Specify where to place generated class files -deprecation Output source locations where deprecated APIs are used -encoding <encoding> Specify character encoding used by source files -endorseddirs <dirs> Override location of endorsed standards path -extdirs <dirs> Override location of installed extensions -g Generate all debugging info -g:{lines,vars,source} Generate only some debugging info -g:none Generate no debugging info -h <directory> Specify where to place generated native header files --help, -help Print this help message --help-extra, -X Print help on extra options -implicit:{none,class} Specify whether or not to generate class files for implicitly referenced files -J<flag> Pass <flag> directly to the runtime system --limit-modules <module>(,<module>)* Limit the universe of observable modules --module <module-name>, -m <module-name> Compile only the specified module, check timestamps --module-path <path>, -p <path> Specify where to find application modules --module-source-path <module-source-path> Specify where to find input source files for multiple modules --module-version <version> Specify version of modules that are being compiled -nowarn Generate no warnings -parameters Generate metadata for reflection on method parameters -proc:{none,only} Control whether annotation processing and/or compilation is done. -processor <class1>[,<class2>,<class3>...] Names of the annotation processors to run; bypasses default discovery pr ocess --processor-module-path <path> Specify a module path where to find annotation processors --processor-path <path>, -processorpath <path> Specify where to find annotation processors -profile <profile> Check that API used is available in the specified profile --release <release> Compile for a specific VM version. Supported targets: 10, 6, 7, 8, 9 -s <directory> Specify where to place generated source files -source <release> Provide source compatibility with specified release --source-path <path>, -sourcepath <path> Specify where to find input source files --system <jdk>|none Override location of system modules -target <release> Generate class files for specific VM version --upgrade-module-path <path> Override location of upgradeable modules -verbose Output messages about what the compiler is doing --version, -version Version information -Werror Terminate compilation if warnings occur
⇒ jdk.compiler/sun.tools.serialver.SerialVer - "serialver" Command
⇐ jdk.compiler/com.sun.tools.javac.launcher.Main - Java Launcher
2020-02-07, ∼1848🔥, 0💬
Popular Posts:
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format su...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...