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.

Bug 120054

Summary: Can not run file with the main() method when in NB Module project
Product: apisupport Reporter: satai <satai>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description satai 2007-10-25 15:51:52 UTC
I have the same java file in a "Java Application" project and in a NetBeans Module project. The file contains "static
public void main(final String[] args)" method. When in JSE project, I can run it (right click, Run File; Shift-F6
etc...). When is the file in a netbeans module project, this action is disabled.
Comment 1 Peter Pis 2007-10-26 12:37:26 UTC
Reassigning to "apisupport".
Comment 2 Jesse Glick 2007-10-26 16:56:32 UTC

*** This issue has been marked as a duplicate of 66422 ***