User Tools

Site Tools


hello_world_without_an_ide

This is an old revision of the document!


Hello World Without an IDE

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.

public class First 
{
	public static void main(String[] args) 
	{
		System.out.println("Hello World!");
	}
}

Linux

nano First.java
hello_world_without_an_ide.1659547317.txt.gz · Last modified: 2022/08/03 13:21 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki