Page Contents
Coding Steps


1 - Open Plain Text Editor
2 - Code a User Greeting
  • Find the line with "//PROGRAM STARTS HERE"
  • Code a greeting

Note:
Don't forget the semi-colons ';' at the end of the lines
Save the file

public void go()
{
	int n1, result;

	
1
//PROGRAM STARTS HERE
2
showTextToUser("Hello End User, Good Day!");
3 - Compile
  • In the file browser, select the "Compile" script
  • Execute the script (e.g., right-click - "Open", double-click on it)
4 - Output Generated by Compile
We'll now see compile output. If we have any compile errors they would be listed here.

We'll learn about compile errors later. If you run into any errors, simply start the example over.
C:\Work\Courses\First Programs>echo off
Press any key to continue . . .
5 - File Generated by Compile
The result of the compile is a file named "Robo.class". This is called a Java CLASS file. It is a machine file that is runnable/executable.
6 - Run
  • In the file browser, select the "Run" script
  • Execute the script (e.g., right-click - "Open", double-click on it)
7 - The Run Results
We should see our greeting on the screen 👍🏽
C:\Work\Courses\First Programs>echo off

Hello End User, Good Day!
Press any key to continue . . .


Completed Setup -- Next Steps