/**
 * Intro2Java
 * Part 1 - Hello World
 *
 * @package   Intro2Java
 * @copyright Copyright (c) 2015, Kevin Fairbanks (http://kevinfairbanks.com)
 * @author    Kevin Fairbanks (https://github.com/KevinFairbanks)
 * @license   MIT License (http://opensource.org/licenses/MIT)
 * @link      http://kevinfairbanks.com
 */

/**
 * Hello World - an intro2java program
 * @return string
 */
public class Hello 
{
    public static void main(String[] args)
    {
        // Output to console Hello World!
        System.out.println("Hello World!");
    }
}

Create hello.java