JDK 11 jdk.jdeps.jmod - JDeps Tool

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

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

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

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

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

✍: FYIcenter

com/sun/tools/jdeps/Main.java

/*
 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package com.sun.tools.jdeps;

import java.io.*;
import java.util.spi.ToolProvider;

/**
 *
 * Usage:
 *    jdeps [options] files ...
 * where options include:
 *    -p package-name   restrict analysis to classes in this package
 *                      (may be given multiple times)
 *    -e regex          restrict analysis to packages matching pattern
 *                      (-p and -e are exclusive)
 *    -v                show class-level dependencies
 *                      default: package-level dependencies
 *    -r --recursive    transitive dependencies analysis
 *    -classpath paths  Classpath to locate class files
 *    -all              process all class files in the given classpath
 */
public class Main {
    public static void main(String... args) throws Exception {
        JdepsTask t = new JdepsTask();
        int rc = t.run(args);
        System.exit(rc);
    }


    /**
     * Entry point that does <i>not</i> call System.exit.
     *
     * @param args command line arguments
     * @param out output stream
     * @return an exit code. 0 means success, non-zero means an error occurred.
     */
    public static int run(String[] args, PrintWriter out) {
        JdepsTask t = new JdepsTask();
        t.setLog(out);
        return t.run(args);
    }

    public static class JDepsToolProvider implements ToolProvider {
        public String name() {
            return "jdeps";
        }

        public int run(PrintWriter out, PrintWriter err, String... args) {
            return Main.run(args, out);
        }
    }
}

com/sun/tools/jdeps/Main.java

 

Or download all of them as a single archive file:

File name: jdk.jdeps-11.0.1-src.zip
File size: 244145 bytes
Release date: 2018-11-04
Download 

 

JDK 11 jdk.jdi.jmod - JDI Tool

JDK 11 jdk.jconsole.jmod - JConsole Tool

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-07-07, 37831👍, 0💬