|
Re: Scripts wont run? [message #855539 is a reply to message #855500] |
Tue, 24 April 2012 22:48 |
|
On 4/24/2012 4:00 PM, Hagan Beatson wrote:
> When I click "Run as...", and select Java Application, it won't let me
> run it.
> This is probably an extremely pathetic question but I need help
> nonetheless.
You didn't say how or what you did to get to Run As. Assuming the best...
You may need to adjust (or create) the run configuration.
Right-click on your project or the Java file containing public void
main( String[] args ), and choose Run As -> Run Configurations...
Then, under Java Application, if you already see what you're trying to
run, click on it and examine the dialog tabs to the right. Make sure
they're correct. (Hard to help you with that in so short a space.)
If there's nothing under Java Application (no project name, no Java file
name, etc.), then right-click Java Application and choose New. Pick a
name (doesn't need to be anything in particular), indicate what Eclipse
project what you're trying to run is in, indicate the package path to
the Java class containing a main() method. You can also indicate what
the arguments should be, which JRE, classpath(s), etc.
|
|
|
Powered by
FUDForum. Page generated in 0.08161 seconds