Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8089808

[Bundlers] current directory is not passed to launched java process

XMLWordPrintable

      When running bundled application, the current directory (System.getProperty("user.dir") or new File(".")) is set not to the real current directory, but to the jar location (.../MyApp/app)

      This is common use case: consider some, for example, application is text editor, which user wants to open from console in such a manner: /path/to/application blahblah.txt

            asemenyuk Alexey Semenyuk
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: