This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If a main class is in a jar or zip file, they cannot be set as a main class. This occurs even if the archive file is part of the compile or run classpath. Entering the main class by hand appears to be ignored. Using the browse button to find the main class fails. *** This is important feature that is works in Netbeans v3.6 and also in Eclipse. Without it, v4.0 is unusable for our development work ***
Reassigning for evaluation.
It is easy to fix if it is really needed. The J2SEActionProvider should check for the main class on ClassPath.EXECUTE rather than on ClassPath.SOURCE. But the selection in the project customizer should be done with ClassPath.SOURCE.
*** This issue has been marked as a duplicate of 44271 ***