United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6684582 Launcher needs improved error reporting
JDK-6684582 : Launcher needs improved error reporting

Details
Type:
Bug
Submit Date:
2008-04-04
Status:
Closed
Updated Date:
2011-05-24
Project Name:
JDK
Resolved Date:
2011-05-17
Component:
tools
OS:
generic
Sub-Component:
launcher
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

Yes this will make it easier to detect errors in Applications.
                                     
2008-04-08



Hardware and Software, Engineered to Work Together