Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 89714 - "Run File" should work for any class with a "main"
"Run File" should work for any class with a "main"
Status: NEW
Product: java
Classification: Unclassified
Component: Editor
All All
: P3 (vote)
Assigned To: issues@platform
Depends on:
  Show dependency treegraph
Reported: 2006-11-21 03:50 UTC by rrochat
Modified: 2014-07-08 14:36 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description rrochat 2006-11-21 03:50:27 UTC
I have inherited a lot of classes with a "main" method that's used for GUI
sanity testing and have to go back to a command-line interface to exercise them
because they're now in modules and "Run File" isn't enabled.

Why can't "Run File" be supported for ANY class with a main() method?  I realize
there are a lot of special-cases, but why can't there be a simple default for
the simple cases?
Comment 1 Peter Pis 2007-08-31 11:02:06 UTC
Reassigning to "core".

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo