Java Installation

<<  < Previous Lesson < Java Tutorial > Next Lesson >  >>

Java Development Environment Setup

Before your development with Java Programming Language, you have to setup your development environment. Otherwise you will be unable to do any development with Java Programming Language. So, let's start your Java Development Environment Setup with following instructions or your own way.

All software is free.

Download Java Software JDK (Java Development Kit) from


Now Download Popular Java IDE (Integrated Development Environment) from

For Eclipse: Go to and download https://eclipse.org/downloads/

For NetBeans with JDK : Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and download.

For NetBeans only:
Go to https://netbeans.org/downloads/ and download.
or,
Just use notepad for software development.

[N.B.: Our recommendation is use Eclipse IDE for software development. If you are interested to make Android apps, this IDE is strongly recommended.]

After completing your download go to the download folder and start setup or install JDK first and then your selected IDE (Integrated Development Environment).

Now time to setup path:

Setup path for Microsoft Windows 2000 and XP

May be you have installed Java in c:\Program Files\java\jdk folder

Step - 01: Click on my computer then click on properties.

Step - 02: Now click on Advanced tab

Step – 03: Now click on Environment Variables button.

Step – 04: Now select Path under System variables field Variable.

Like: Path C:\WINDOWS\system32;C:\WINDOWS;…

Step – 05: Now click Edit button

Step - 06: Now alter the Path variable so that it also contains the path to the Java executable.

For example: If the path is currently set to 'C:\WINDOWS\system32', then change your path to read 'C:\WINDOWS\system32;c:\Program Files\java\jdk\bin'.

Setup path for Microsoft Windows 95, 98 and Millenium Edition:

May be you have installed Java in c:\Program Files\java\jdk folder

Change the 'C:\autoexec.bat' file and add the following line at the end
'SET PATH=%PATH%;C:\Program Files\java\jdk\bin'

Setup path for Linux, UNIX, Solaris, Free Berkeley Software Distribution:

Environment variable PATH should be set to point where the Java binaries have been installed. Refer to your shell documentation if you have trouble doing this.

For example: If you use bash as your shell, then you would add the following line to the end of your '.bashrc: export PATH=/path/to/java:$PATH'

If everything is successfully completed, so, now you are ready to do your development with Java Programming Language.

<<  < Previous Lesson < Java Tutorial > Next Lesson >  >>

 Regularly visit this site to get new information about Java Programming Language. Today, it is a robust and most powerful programming language in the Universe.