Changes between Version 6 and Version 7 of ControlSystems/SoftwareTeam/Training/GettingStarted/HelloWorld
- Timestamp:
- Nov 4, 2019, 2:49:16 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/HelloWorld
v6 v7 21 21 }}} 22 22 1. Select File->Save and name the file '''Hello.java''' [[BR]] 23 NOTE: the name of the file is important; it mustbe Hello.java with a capital H (case matters to Java). [[BR]]24 The name of the file must be the same as the name of the class (more on classes later)23 NOTE: the file name is important; it '''must''' be Hello.java with a capital H (case matters to Java). [[BR]] 24 The file name must be the same as the name of the class (more on classes later) 25 25 26 26 === Run the program 27 27 There are multiple ways to run your program [[Image(JavaHello.jpg,align=right,50%,margin=10)]] 28 28 * In the editor, just below the first line, you'll see an option to click "Run" 29 * In the left navigation window, you can see the program file (Hello w.java) with a red J next to it indicating that it is a Java file; right click on Hello.java and select Run.29 * In the left navigation window, you can see the program file (Hello.java) with a red J next to it indicating that it is a Java file; right click on Hello.java and select Run. 30 30 31 31 When you run the program, a terminal window will open, the program will be compiled and then run; [[BR]]