hello_world_without_an_ide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
hello_world_without_an_ide [2022/08/03 13:28] – frchris | hello_world_without_an_ide [2022/08/03 13:38] – [Now in respect editors we type:] frchris | ||
---|---|---|---|
Line 2: | Line 2: | ||
They say the only way to teach a fish about water is to remove the fish from the water. | They say the only way to teach a fish about water is to remove the fish from the water. | ||
We need to type the following Java code as a text file. Java requires that the File name is Capitalized, | We need to type the following Java code as a text file. Java requires that the File name is Capitalized, | ||
+ | |||
+ | ===== 1. Type the code as a text file ===== | ||
+ | |||
+ | |||
+ | === Linux / MacOS === | ||
+ | |||
+ | <code bash> | ||
+ | nano First.java | ||
+ | </ | ||
+ | There is a remote possibility [[https:// | ||
+ | === DOS / Windows before Win7-64 bit=== | ||
+ | '' | ||
+ | |||
+ | === Windows 7-64 bit and later === | ||
+ | '' | ||
+ | (technically not a command line editor, but they removed that ability for some reason) | ||
+ | ====Now (in your respective editor) type:==== | ||
<code java> | <code java> | ||
public class First | public class First | ||
Line 11: | Line 28: | ||
} | } | ||
</ | </ | ||
+ | ===== 2. Compile the Code ===== | ||
- | ==== Linux / MacOS ==== | + | ===== 3. Execute the Code ===== |
- | <code bash> | ||
- | nano First.java | ||
- | </ | ||
- | |||
- | ==== DOS / Windows before Win7-64 bit==== | ||
- | '' | ||
- | |||
- | ==== Windows 7-64 bit and later ==== | ||
- | '' | ||
hello_world_without_an_ide.txt · Last modified: 2022/08/03 13:53 by frchris