Thursday, December 18, 2008

How to install Java on my machine

Before running any Java program you need to have the Java installed on your machine. Normally beginners gets confused with different terminologies used in Java such as jdk,j2se,jre,jvm etc..

JDK - Java Development Kit/ J2SE( Java 2 Standard Edition)

JRE - Java Runtime Envrionment

JVM - Java Virtual Machine

All the above three are different , but if you install JDK, you will get JRE and JVM, if you install JRE , you will get JVM by defualt.

I tried to clear the concept so that before installing it may be bit less troublesome while installing Java for the first time.

About installing.. If you are installing Java on your machine for the purpose of writing code then you have to install the Java Development kit (jdk) , latest version will be good.

You can download JDK(1.5) from this location :

http://java.sun.com/javase/downloads/index_jdk5.jsp

After downloading , just double click on the exe file, which you have downloaded .

It will ask for the location where to install the software( by default it takes C:\Program Files), its upto your choice where you want to install it.I normally install in a separate folder as some times during the path setup on my machine , i was forced to modify the folder name C:\Program FIles to C:\Progra~1 as due to space in the folder name, PC unable to find the installed location.

Thats it.. wait till the installation is complete.

No comments:

Post a Comment