Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027634 Support @argfiles for java command-line tool
  3. JDK-8177359

Release Note: Support @-files for java command-line tool

    XMLWordPrintable

Details

    • Verified

    Description

      The `java` launcher now supports reading arguments from "argument files" specified on the command line. It is not uncommon that the `java` launcher is invoked with very long command lines (a long class path for example). Many operating systems impose a limit on the length of a command line, something that "argument files" can be used to work around.

      In JDK 9, java now can read arguments from specified files as they are put on the command line. See [java command reference](https://docs.oracle.com/javase/9/tools/java.htm#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE) and [java Command-Line Argument Files](https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-4856361B-8BFD-4964-AE84-121F5F6CF111) for more details.

      Attachments

        Activity

          People

            henryjen Henry Jen
            mtrudeau Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: