How to execute current class? [message #52554] |
Fri, 15 April 2005 14:03 |
Eclipse User |
|
|
|
Originally posted by: spambox710.gmail.com
Hi,
1st day working with eclipse.
Is there an easy way to run the current class I'm working on?
What I'd like to do is press any key and automaticaly execute the main
method of the current class and not the entry point of my project.
Thanks in advance.
-- Dani
|
|
|
Re: How to execute current class? [message #52581 is a reply to message #52554] |
Fri, 15 April 2005 14:00  |
Eclipse User |
|
|
|
Originally posted by: jaredburns.no.spam.acm.org
With the class you want to run selected (or with that editor open and
active), choose Run->Run(/Debug) As->Java Application. You'll see the
default key shortcuts. To debug as Java, it's shift+alt+d then j.
Afterwards, you can press F11 to relaunch the last program in debug mode
or ctrl+F11 to launch in run mode.
- Jared
Dani wrote:
> Hi,
>
> 1st day working with eclipse.
>
> Is there an easy way to run the current class I'm working on?
>
> What I'd like to do is press any key and automaticaly execute the main
> method of the current class and not the entry point of my project.
>
> Thanks in advance.
>
> -- Dani
>
|
|
|
Powered by
FUDForum. Page generated in 0.10524 seconds