Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2161109 | 6u10 | Kumar Srinivasan | P3 | Resolved | Fixed | b22 |
JDK-2161342 | OpenJDK6 | Kumar Srinivasan | P3 | Resolved | Fixed | b10 |
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.
- backported by
-
JDK-2161109 Launcher needs improved error reporting
-
- Resolved
-
-
JDK-2161342 Launcher needs improved error reporting
-
- Resolved
-
- relates to
-
JDK-6694671 "check your installation" mesage for invoking a class without main()
-
- Closed
-
-
JDK-7047602 javaw launcher needs to improve error reporting
-
- Open
-