help using eclipse

K

kandulac

I have eclipse tool

can anyone tell how to execute a basic "HelloWorld.java" within the
IDE
I have all the latest versions working with me

Thanks

(e-mail address removed)
 
I

Ian Wilson

I have eclipse tool

can anyone tell how to execute a basic "HelloWorld.java" within the
IDE

I'll assume you have the Java Perspective selected and HelloWorld.java
open in the editor, with a "main(String[] args)".

I use Alt+Shift+X J

You might prefer to select the "Run" menu then "Run As" then "Java
Application".

To re-run, I click the toolbar button with the white triangle in the
green circle. I never got into the habit of pressing Ctrl+F11.


Eclipse has built-in help.

There is an Eclipse newsgroup, some people prefer not to see Eclipse
questions in comp.lang.java.programmer.
 
S

Simon Brooke

in message <[email protected]>,
I have eclipse tool

can anyone tell how to execute a basic "HelloWorld.java" within the
IDE
I have all the latest versions working with me

Choose the 'Java' perspective (which is the default). In the 'package
explorer' pane (usually on the left), find the file you're interested in -
one that has a public static void main( String[] args ) method. Right
click on it, and choose 'Run As', and then 'Java Application'.

Sorted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top