hello_world_without_an_ide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hello_world_without_an_ide [2022/08/03 13:36] – old revision restored (2022/08/03 13:34) frchris | hello_world_without_an_ide [2022/08/03 13:53] (current) – [Summary] frchris | ||
---|---|---|---|
Line 17: | Line 17: | ||
=== Windows 7-64 bit and later === | === Windows 7-64 bit and later === | ||
'' | '' | ||
- | + | (technically not a command line editor, but they removed that ability for some reason) | |
- | Now in respect editors we type: | + | ====Now (in your respective editor) |
<code java> | <code java> | ||
public class First | public class First | ||
Line 29: | Line 29: | ||
</ | </ | ||
===== 2. Compile the Code ===== | ===== 2. Compile the Code ===== | ||
+ | <code bash> | ||
+ | javac First | ||
+ | </ | ||
===== 3. Execute the Code ===== | ===== 3. Execute the Code ===== | ||
+ | <code bash> | ||
+ | java First | ||
+ | </ | ||
+ | |||
+ | ======Summary ====== | ||
+ | Doing this once usually ends with the response "There must be a better way!" Now you will appreciate any IDE, and there are many, but we will focus on two: BlueJ and Eclipse. | ||
+ | Recommended reading: Java Methods (4th ed) Chapter 2 |
hello_world_without_an_ide.txt · Last modified: 2022/08/03 13:53 by frchris