|
|
Re: Crash And Burn on Hello World Tutorial [message #1691299 is a reply to message #1691296] |
Sat, 04 April 2015 23:41 |
al co Messages: 11 Registered: April 2015 |
Junior Member |
|
|
This is the one right in Eclipse Luna 4.4.2 You click the "create java project" and "Create your hellowworld class" and "Add a print statement" from the welcome tab:
Now that you have your HelloWorld class, in the main() method, add the following statement:
System.out.println("Hello world!");
Then save your changes; the class will automatically compile upon saving.
To run your application, right-click on your class in the Package Explorer and select Run As > Java Application. The Console view should appear at the bottom and display the "Hello, world!" output.
Congratulations! You have successfully created a Hello World application!
Why do you think a highly developed IDE would leave out such an obvious thing in their own tutorial?
[Updated on: Sat, 04 April 2015 23:42] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08195 seconds