JDK 11 jdk.jlink.jmod - JLink Tool

JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" command.

JDK 11 JLink tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jlink.jmod.

JDK 11 JLink tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 JLink tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jlink.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

jdk/tools/jlink/resources/jlink.java

package jdk.tools.jlink.resources;

import java.util.ListResourceBundle;

public final class jlink extends ListResourceBundle {
    protected final Object[][] getContents() {
        return new Object[][] {
            { "err.automatic.module", "automatic module cannot be used with jlink: {0} from {1}" },
            { "err.badpattern", "bad pattern {0}" },
            { "err.bom.generation", "bom file generation failed: {0}" },
            { "err.cannot.read.module.info", "cannot read module descriptor from {0}" },
            { "err.config.defaults", "property {0} is missing from configuration" },
            { "err.config.defaults.value", "wrong value in defaults property: {0}" },
            { "err.dir.exists", "{0} already exists" },
            { "err.empty.module.path", "empty module path" },
            { "err.existing.image.invalid", "existing image is not valid" },
            { "err.file.error", "cannot access file: {0}" },
            { "err.file.not.found", "cannot find file: {0}" },
            { "err.image.must.exist", "image {0} does not exist or is not a directory" },
            { "err.internal.error", "internal error: {0} {1} {2}" },
            { "err.invalid.arg.for.option", "{0} does not accept \"{1}\" argument" },
            { "err.jlink.version.mismatch", "jlink version {0}.{1} does not match target java.base version {2}.{3}" },
            { "err.launcher.main.class.empty", "launcher main class name cannot be empty: {0}" },
            { "err.launcher.module.name.empty", "launcher module name cannot be empty: {0}" },
            { "err.launcher.value.format", "launcher value should be of form <command>=<module>[/<main-class>]: {0}" },
            { "err.missing.arg", "no value given for {0}" },
            { "err.mods.must.be.specified", "no modules specified to {0}" },
            { "err.modulepath.must.be.specified", "--module-path must be specified" },
            { "err.not.a.module.directory", "directory {0} does not contain module-info.class file under it" },
            { "err.not.modular.format", "selected module {0} ({1}) not in jmod or modular JAR format" },
            { "err.option.after.class", "option must be specified before classes: {0}" },
            { "err.option.unsupported", "{0} not supported: {1}" },
            { "err.orphan.arguments", "invalid argument: {0}" },
            { "err.output.must.be.specified", "--output must be specified" },
            { "err.path.not.found", "path not found: {0}" },
            { "err.path.not.valid", "invalid path: {0}" },
            { "err.signing", "signed modular JAR {0} is currently not supported, use --ignore-signing-information to suppress error" },
            { "err.unknown.byte.order", "unknown byte order {0}" },
            { "err.unknown.option", "unknown option: {0}" },
            { "error.prefix", "Error:" },
            { "main.command.files", "      @<filename>                       Read options from file" },
            { "main.extended.help", "List of available plugins:" },
            { "main.extended.help.footer", "For options requiring a <pattern-list>, the value will be a comma separated\nlist of elements each using one the following forms:\n  <glob-pattern>\n  glob:<glob-pattern>\n  regex:<regex-pattern>\n  @<filename> where filename is the name of a file containing patterns to be\n              used, one pattern per line\n\n" },
            { "main.msg.bug", "An exception has occurred in jlink. Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report.  Thank you." },
            { "main.opt.add-modules", "      --add-modules <mod>[,<mod>...]    Root modules to resolve" },
            { "main.opt.bind-services", "      --bind-services                   Link in service provider modules and\n                                        their dependences" },
            { "main.opt.endian", "      --endian <little|big>             Byte order of generated jimage\n                                        (default:native)" },
            { "main.opt.help", "  -h, --help, -?                        Print this help message" },
            { "main.opt.ignore-signing-information", "      --ignore-signing-information      Suppress a fatal error when signed\n                                        modular JARs are linked in the image.\n                                        The signature related files of the\n                                        signed modular JARs are not copied to\n                                        the runtime image." },
            { "main.opt.launcher", "      --launcher <name>=<module>[/<mainclass>]\n                                        Add a launcher command of the given\n                                        name for the module and the main class\n                                        if specified  " },
            { "main.opt.limit-modules", "      --limit-modules <mod>[,<mod>...]  Limit the universe of observable\n                                        modules" },
            { "main.opt.module-path", "  -p, --module-path <path>              Module path" },
            { "main.opt.output", "      --output <path>                   Location of output path" },
            { "main.opt.save-opts", "      --save-opts <filename>            Save jlink options in the given file" },
            { "main.opt.suggest-providers", "      --suggest-providers [<name>,...]  Suggest providers that implement the\n                                        given service types from the module path" },
            { "main.opt.verbose", "  -v, --verbose                         Enable verbose tracing" },
            { "main.opt.version", "      --version                         Version information" },
            { "main.usage", "Usage: {0} <options> --module-path <modulepath> --add-modules <module>[,<module>...]\nPossible options include:" },
            { "main.usage.summary", "Usage: {0} <options> --module-path <modulepath> --add-modules <module>[,<module>...]\nUse --help for a list of possible options" },
            { "no.suggested.providers", "--bind-services option is specified. No additional providers suggested." },
            { "providers.header", "Providers" },
            { "suggested.providers.header", "Suggested providers" },
            { "warn.invalid.arg", "invalid classname or pathname not exist: {0}" },
            { "warn.prefix", "Warning:" },
            { "warn.provider.notfound", "No provider found for service specified to --suggest-providers: {0}" },
            { "warn.signing", "WARNING: signed modular JAR {0} is currently not supported" },
            { "warn.split.package", "package {0} defined in {1} {2}" },
        };
    }
}

jdk/tools/jlink/resources/jlink.java

 

JDK 11 jdk.jshell.jmod - JShell Tool

JDK 11 jdk.jfr.jmod - JFR Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-09, 2847👍, 0💬