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.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, 1467🔥, 0💬
Popular Posts:
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
Saxon is an open source product available under the Mozilla Public License. It provides implementati...