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

Output of System.out is not printed to CMD on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      When running simple application from command line on Windows which was packaged with jpackger, then output is not displayed from this application.

      Command used to create bundle:
      jpackager.exe create-image --input input --output output --name hello --main-jar hello.jar --class hello.Hello --files hello.jar

      >output\hello\hello.exe
      Nothing is printed

      >java.exe -jar input\hello.jar
      Hello !!!

      This needs to be tested on OS X and Linux as well.

        Attachments

          Activity

            People

            Assignee:
            almatvee Alexander Matveev
            Reporter:
            almatvee Alexander Matveev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: