Monday, January 21, 2013

Week-1 : 1.1: Fundamental Knowledge

One of the difficult things about getting started with Java is installing everything you need. Even before you write a single line of code, the headaches begin! Hopefully, the following sections will make life easier for you. We're going to write all our code using a free piece of software called NetBeans. This is one of the most popular IDEs (Interface Development Environment) in the world for writing Java program. You'll see what it looks like shortly. But before NetBeans will work, it needs you to install the necessary Java components and files. First up is something called the Java Virtual Machine.

The Java Virtual Machine

Click Here for DetailsJava is platform independent. This means that it will run on just about any operating system. So whether your computer runs Windows, Linux, Mac OS, it's all the same to Java! The reason it can run on any operating system is because of the Java Virtual Machine. The Virtual Machine is a program that processes all your code correctly. So you need to install this program (Virtual Machine) before you can run any Java code.
Java is owned by a company called Sun Microsystems, so you need to head over to Sun's website to get the Java Virtual Machine, also known as the Java Runtime Environment (JRE). Try this page first:

You can check to see if you already have the JRE on your computer by clicking the link "Do I have Java?". You'll find this link under the big Download button at the top of the page. (Unless Sun have changed things around, again!) When you click the link, your computer will be scanned for the JRE. You will then be told whether you have it or not. If not, you'll be given the opportunity to download and install it.
Or you could just head over to this page:

The "manual" in the above links means "manual download". The page gives you download links and instructions for a wide variety of operating systems.
After downloading and installing, you may need to restart you computer. When you do, you will have the Java Virtual Machine.

The Java Software Development Kit

At this stage, you still can't write any program. The only thing you've done is to install software so that Java program can be run on your computer. To write code and test it out, you need something called a Software Development kit.
Java's Software Development Kit can currently be downloaded from here:
The one we're going to be using is called Java SE. (The SE stands for Standard Edition.). Click on that link, then on "Java SE (JDK) 6 Download". You'll then find yourself on a page with a bewildering list of options to download. Because we're going to be using NetBeans, locate this:

JDK 6 Update X with NetBeans 6.x

Click the Download link to be taken to yet another page. Click the top download to be taken to a page that asks you to select your operating system. Click Continue to finally get the download you need. A word of warning, though - this download will be big, at over 130 megabytes at the time of writing! Once you've downloaded the JDK and NetBeans, install it on your computer.
We're going to be using NetBeans to write our code. Before launching the software, however, here's how things work in the world of Java.

How things work in Java

Click Here for Details


  1. Replies
    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

  2. Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING

  3. hi admin.i am really love it your blog.Because your explanation wise all the topics are too good.I got enough knowledge from your blog.Thanks for sharing more....
    Java Training in Marathahalli
    Python Training in Marathahalli

  4. Thank you so much for sharing this worth able content with us. The concept taken here will be useful for my future programs.

    White Label Website Builder

  5. Great information from your article.share more info as much as you can which is useful to us. Best core java course training in bangalore

  6. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it. Mat Lab Project Center in Chennai | Mat Lab Project Center in Velachery

  7. I really love reading and following your post as I find them extremely informative and interesting. This post is equally informative as well as interesting.No.1 Software Testing Training Institute in Chennai | Best Selenium Training Institute in Chennai | Java Training in Chennai

  8. Impressive blog with lovely information. really very useful article for us thanks for sharing such a wonderful blog...No.1 IOS Training Institute in Chennai | Best Android Training Institute in Chennai | Java Training Institute in Chennai

  9. Thanks for nice blog.upload more and more valuable articles.
    Get best Spring course training in Bangalore

  10. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here"Oracle Training in Chennai".

  11. Hi dear, I like your post so much, and it is very good. Hope that we can communicate with each other. I want to introduce an aso services, I try it and I feel it is so good to us beginners.

  12. Excellent post. I have read your blog it's very interesting and informative. Keep sharing.
    No.1 Robotics Project Center in Chennai | No.1Robotics Project Center in Velachery

  13. Nice Post! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing…..
    Pearson Vue Testing Center in Chennai | Java Exam Center in Velachery | Microsoft Dot net Certification in Velachery

  14. Great put Good stuff.All the topics were explained quickly understand for me.I am waiting for your next fantastic blog.Thanks for sharing.
    ISTQB Certification Training in Chennai | Java Exam Center in Chennai | Microsoft Dot net Certification in Chennai