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.
IDE cannot dectect class with main method so common j2se project or single file can not be run from the IDE. Jan Lahoda 07/07/2006 16:38:47 ----------------- I did a slight modification, so all classes are considered to have "main" method, so the project and single file can be runned. This is obviously not correct fix (the user can attempt to run even a class without main method), but I think this is an improvement. The dialog with list of main classes is still not available.
This issue is still valid. --- NetBeans IDE Dev (Build 200611121900) 1.6.0-rc; Java HotSpot(TM) 64-Bit Server VM 1.6.0-rc-b103 SunOS version 5.10 running on sparcv9 en (nb); ISO646-US
Fixid in: java/source/src/org/netbeans/api/java/source/SourceUtils 1.11
Verified. --- NetBeans IDE Dev (Build 070219) 1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8