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
Next revisionBoth sides next revision
hello_world_without_an_ide [2022/08/03 13:34] frchrishello_world_without_an_ide [2022/08/03 13:40] – [3. Execute the Code] frchris
Line 6: Line 6:
  
  
-==== Linux / MacOS ====+=== Linux / MacOS ===
  
 <code bash> <code bash>
Line 12: Line 12:
 </code> </code>
 There is a remote possibility [[https://www.fossmint.com/install-gnu-nano-in-linux/|nano needs to be installed]] There is a remote possibility [[https://www.fossmint.com/install-gnu-nano-in-linux/|nano needs to be installed]]
-==== DOS / Windows before Win7-64 bit====+=== DOS / Windows before Win7-64 bit===
 ''edit First.java'' ''edit First.java''
  
-==== Windows 7-64 bit and later ====+=== Windows 7-64 bit and later ===
 ''notepad First.java'' ''notepad First.java''
- +(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) type:====
 <code java> <code java>
 public class First  public class First 
Line 29: Line 29:
 </code> </code>
 ===== 2. Compile the Code ===== ===== 2. Compile the Code =====
 +<code bash> 
 +javac First 
 +</code>
 ===== 3. Execute the Code ===== ===== 3. Execute the Code =====
  
 +<code bash> 
 +java First 
 +</code>
hello_world_without_an_ide.txt · Last modified: 2022/08/03 13:53 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki