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

javapackager-created applications can't output to the console on Windows

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8u112, 9, 10
    • Fix Version/s: tbd
    • Component/s: deploy
    • Labels:
      None

      Description

      The .exe launcher that javapackager uses on Windows is a "Windows" application and not an "Console" application. As such, any output to the console is lost.

      This is the equivalent of running the application with javaw.exe instead of java.exe

      Perhaps the application could remain a "Windows" application, but attach to the console of the parent process if possible.
      https://msdn.microsoft.com/en-us/library/windows/desktop/ms681952(v=vs.85).aspx

      http://stackoverflow.com/questions/574911/difference-between-windows-and-console-application

        Attachments

          Activity

            People

            • Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              swpalmer Scott Palmer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: