User Tools

Site Tools


hello_world_without_an_ide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hello_world_without_an_ide [2022/08/03 13:39] – [2. Compile the Code] frchrishello_world_without_an_ide [2024/08/28 09:29] (current) – [Hello World Without an IDE] frchris
Line 2: Line 2:
 They say the only way to teach a fish about water is to remove the fish from the water.  So in the time honored tradition of writing "Hello World!" (whenever you learn a new computer language), lets try. They say the only way to teach a fish about water is to remove the fish from the water.  So in the time honored tradition of writing "Hello World!" (whenever you learn a new computer language), lets try.
 We need to type the following Java code as a text file.   Java requires that the File name is Capitalized, and ends in ''.java'' We need to type the following Java code as a text file.   Java requires that the File name is Capitalized, and ends in ''.java''
 +Link to  
 +[[https://dn720408.ca.archive.org/0/items/hellow-world-without-an-ide/HellowWorldWithoutAnIDE.mp4|Video]]
 ===== 1. Type the code as a text file ===== ===== 1. Type the code as a text file =====
  
Line 34: Line 35:
 ===== 3. Execute the Code ===== ===== 3. Execute the Code =====
  
 +<code bash>
 +java First
 +</code>
 +
 +======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.1659548393.txt.gz · Last modified: 2022/08/03 13:39 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki