Java development for beginners 1. Eclipse installation and first java program

This tutorial is the first of a series of tutorials in which we are going to learn the basic concepts of the object oriented language JAVA.

The first thing we are going to do, is download the Java Development Kit (JDK), from de Oracle official website.

We then download the Eclipse editor for Java. We can use any editor, like notepad, but Eclipse helps us to write the code and this is going to be very useful when we are working. We can download it free from eclipse.org.

We now have to install both programs; JDK and Eclipse.

Once we have installed them, we open Eclipse and we create a new Java project; "HelloWorld", following the instructions of the video tutorial on this page.

In the folder "source", we create a class also called "HelloWorld", as written below;

public class HelloWorld {
	public static void main(String[] args) {
		System.out.println("Hola Mundo");
		System.out.println("Hola Edu");
	}
}


We have just created our first Java program :)

<< Index Next >>