Monday, April 23, 2012

Introduction to Eclipse


Here we are the beginning of your programming adventure. Hopefully by now you installed this wonderful program called Eclipse. If you are worried about compatibility of your machine and this IDE, don't worry! Eclipse is a free open source program that runs on Linux, Mac OS X, and Windows XP/7 alike. There is no bias when it comes to Eclipse which is another reason why I love using it so much. If you have not downloaded Eclipse, I will post a download link in the section below, after we are done talking about how to use Eclipse. Without pictures this part of the tutorial can prove to be somewhat difficult but I luckily came across a very good tutorial on YouTube which will help me show you how to use Eclipse efficiently and properly. So to start with this tutorial you must have the following installed on your computer:

  1. Eclipse - The IDE that we are going to use throughout this blog to compile and run our code. 
  2. Java-SDK: The piece of software that allows us to compile and run our code in the Java language. 

If your worried about your budget, don't be all of the following software that I ask you to download will always be free and open-source. I believe that all software for at least teaching purposes should be allowed to be distributed for free. Without the risk of piracy, hopefully we don't go down that trail ;).

To begin our tutorial we must answer the very first pop-up that we receive when running this program, "Select a workspace", this prompt is simply asking you the user where do you want me to place your programming files. This decision is for you to decide not me. I suggest that you put your workplace somewhere safe and sound so that no one else can touch your workplace.

Now you must create a new Java Project, you can reach this by going up to file and selecting New...

Once you've done that we shall name our Java Project, Let's Learn Java. A Java Project is simply a folder that holds all our data in one nice and neat folder. Now we must create a Java Package which is a sub-folder of the Java Project folder. Name the Java Package, Learn to Java 1. As this will be the first package of all the basic Java programs we will be writing. This simply holds all your programs in a package, simple enough right?

Now that we've done that you've taken your first steps to becoming an Ace Java Programmer. In my next post we will write our first program and go over some basic terminology before hand so that you can understand what exactly we are doing with our Java Code.



If you find yourself confused, here's a helpful video, teaching you how to use Eclipse properly: 



Download Links

No comments:

Post a Comment