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

Launcher needs improved error reporting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 6u10
    • tools
    • b27
    • generic
    • generic
    • Not verified

        When the Java launcher fails to find the main class it reports "Could not find the main class. Program will exit." On Windows using the javaw launcher this is the only error message displayed -- there is no console window available to display a stack trace. This makes debugging Java Web Start applications (and the Java Web Start launcher itself) very difficult. The attached patch to src/share/bin/java.c (from 6u10) displays the main class name in the error message when such an error occurs.

              ksrini Kumar Srinivasan
              kbr Kenneth Russell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: