From the tool-bar open the Java Perspective.

Right-click into the Package Explorer,
and from the menu select New -> Java Project
In the upcoming dialog enter a project name, then click Finish.

Now you have the new project in your workspace.

Right-click on your project, and from the menu select New -> Class.
In the dialog type in the class' name (it should begin with a capital letter),
also select the check-box public static void main(String[] args),
then click Finish.

Now you have the first Java file in your project. The editor will automatically open this new file.

Within the main method type in some code to print Hello world!.

Right-click on your Java class, and from the menu select Run as -> Java application.
Voila, you see the output of your Java program in the Console.
