# Uses of Package
javax.tools

- Packages that use javax.tools
  Package | Description
  --- | ---
  javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
  javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers.

- Classes in javax.tools used by javax.annotation.processing
  Class | Description
  --- | ---
  Diagnostic.Kind | Kinds of diagnostics, for example, error or warning.
  FileObject | File abstraction for tools.
  JavaFileManager.Location | Interface for locations of file objects.
  JavaFileObject | File abstraction for tools operating on Java™ programming language source and class files.

- Classes in javax.tools used by javax.tools
  Class | Description
  --- | ---
  Diagnostic | Interface for diagnostics from tools.
  Diagnostic.Kind | Kinds of diagnostics, for example, error or warning.
  DiagnosticListener | Interface for receiving diagnostics from tools.
  DocumentationTool | Interface to invoke Java™ programming language documentation tools from programs.
  DocumentationTool.DocumentationTask | Interface representing a future for a documentation task.
  DocumentationTool.Location | Locations specific to `DocumentationTool`.
  FileObject | File abstraction for tools.
  ForwardingFileObject | Forwards calls to a given file object.
  JavaCompiler | Interface to invoke Java™ programming language compilers from programs.
  JavaCompiler.CompilationTask | Interface representing a future for a compilation task.
  JavaFileManager | File manager for tools operating on Java™ programming language source and class files.
  JavaFileManager.Location | Interface for locations of file objects.
  JavaFileObject | File abstraction for tools operating on Java™ programming language source and class files.
  JavaFileObject.Kind | Kinds of JavaFileObjects.
  OptionChecker | Interface for recognizing options.
  StandardJavaFileManager | File manager based on java.io.File.
  StandardLocation | Standard locations of file objects.
  Tool | Common interface for tools that can be invoked from a program.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.