Java Tutorial For Beginners : Introduction And Getting Started

06:34
JAVA is one of the high end programming language. We will discuss about it in this article. We will try to keep the format as simple as possible for people who are not familiar with programming background. Programing languages are intended to developed for making website and software development easier and faster. Java has evolve time to time for facilitating programmer more and more flexibility in development.

Java-Tutorial-For-Beginners-Introduction
JAVA Log
Above image is Logo that was earlier design by Sun Microsystems but recently it is been taken over by Oracle. Java was developed and released by Sun Microsystems earlier in 1995. Most powerful feature of Java is ''Java is platform independent"

You may ask the question Java Is Platform Independent ? Here is the answer below :

There are variety of operating system available world wide. The program developed in Java can be executed in any machine that has Java Development Kit Installed (JDK) for respective platform and/or operating system.

Now another question you will ask is what is this JDK and what is does to make Java Program Run on Any machine ? Here is an answer :

JDK will create an isolated environment by occupying required memory for a program. It will execute the entire code and convert it into byte code. This byte code will then get converted into machine level code. So Java code will stored in file having extension .java and after compilation of this ,java file Java compiler (it is a part of JDK) will create .class file that will have byte code.

JDK is also called as Java Virtual Machine(JVM) or we can say sandbox that allow the computer to execute Java program. This JVM execute Java program in isolated environment that is one of the important aspect of security and make Java more secure.

Hence because of above all reasons it is called Java is guaranteed to be Write Once, Run Anywhere.


You Need to Download And Install Java in your machine first:

  • Download Latest version of Java SDK Standard Edition (J2SE) from Here for respective operating system you are using. For us it is windows.
  • Once downloaded you can install it as any other software you install on your operating system.
  • After installing it you need to set environmental variable for Windows you need to follow this : We are assuming you have installed JDK at c:\Program Files\java\jdk 

Now Right Click on My Computer / computer and select Properties .

You will find Advance System Setting under that select environment variable.

Select Path sunder option System Variable and click on Edit

Now go to the end of Line and copy and paste this exact code :

;c:\Program Files\java\jdk\bin 

So installation part is done for windows users. Now you need to check for whether it is being properly installed or not :

  • Open command prompt in Windows. Just type java and press enter key it will show whole lot of command for JDK.
To make the tutorials easier we will use IDE's for java tutorials :

IDE? Well answer is :
IDE stand for Integrated Development Environment. They are developed to make programmers work easier and assist in many ways. For Java we have 3 major IDE's available:
  • Notepad :
    Notepad is basic editor for Java programming that programmer can use for writing and executing the code. But it will take much effort and time executing program and prone to error and human mistakes. It is hard to find the error since even one wrong alphabet in code can generate an error. But this method is most recommended since you will get better understanding how it works.
  • Netbeans:
    This is free and open source IDE available for Java development. You can download and install it from here. Netbeans Download. For this tutorial we will use Netbeans as IDE.
  • Eclipse;
    This IDE is developed by Eeclips open source community that working on imprving their IDE for many other programming as well. You can download it from here. Eclipse Download
So What is Next ?

In next article will see the basic structure and try to understand more about how actual flow works as well concept of OOP (Object Oriented Programing) concept with other features of java.

So long have any questions you can comment below. We wills assist you soon. Thank your for reading,

Share this

CEO and Admin of TechnoDiscover And Nothing Like Everything
Bcom From Mumbai University
Pursuing MCA From Mumbai University

Related Posts

Previous
Next Post »