Classpath (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util, class: Classpath

Package org.apache.hadoop.util

# Class Classpath

java.lang.Object
org.apache.hadoop.util.Classpath

@Private public final class Classpath extends Object
Command-line utility for getting the full classpath needed to launch a Hadoop client application. If the hadoop script is called with "classpath" as the command, then it simply prints the classpath and exits immediately without launching a JVM. The output likely will include wildcards in the classpath. If there are arguments passed to the classpath command, then this class gets called. With the --glob argument, it prints the full classpath with wildcards expanded. This is useful in situations where wildcard syntax isn't usable. With the --jar argument, it writes the classpath as a manifest in a jar file. This is useful in environments with short limitations on the maximum command line length, where it may not be possible to specify the full classpath in a command. For example, the maximum command line length on Windows is 8191 characters.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Classpath()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `main(String[] args)`
  Main entry point.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Classpath

    public Classpath()

- ## Method Details

  - ### main

    public static void main(String[] args)
    Main entry point.
    Parameters:
      `args` - command-line arguments