Wednesday, February 24, 2010

How to install JDK on windows based system

HOW TO INSTALL JDK 1.4 ON WINDOWS PLOTFORM

Hi.....friends..........
In this post i want to make you clear how to install jdk(java development kit)1.4 ...we often work on JAVA ...but most of us having confusion how to install JDK. Here i want to tell show you how to install it.

Here i wanna discuss some basic things about JDK.. for novice programmers....
  • JDK stands for Java Development Kit which is a piece of software developed by SUN MICROSYSTEMS.
  • JDK is software which provides enverolment to Develop JAVA programms.
  • JDK =JVM+JRE

(I will discuss much more about terms like JDK , JRE, JVM, JSE in my next post which are seems to be bit confusing for the novice programmer )


STEPS TO INSTALL JDK 1.4:


1. Download jdk here download jdk .

2.Double click on downloaded .exe file. let the exe file to install....

3.Now the steps begin to set path to java directory. go to Desktop->
Mycomputer->right click->select properties.

4. Select “Advanced” tab and then Environment variables. 
 
5    Set class path in “system variables”   .....for that.......






click new button........
 




6. Type  below as it is in corrosponding Fields.....


Variable name: classpath
     Value: <java directory>\lib\tools.jar; \lib\dt.jar;.;

     Example: If my java is installed in C:\java1.4
     My Value: will be C:\java1.5\lib\tools.jar;C:\java1.4\lib\dt.jar;.;

Press OK....
7.    Repeat STEP 5 and Type below as it is in corrosponding Fields.....


Variable name: path
     Value : <java directory>\bin;

     Example: java1.4\bin;

8. Repeat STEP 5 and enter below as it is in the corrosponding fields.....

Variable name: JAVA_HOME
     Value : <java directory>

     Example: C:\j2sdk1.4.0_01;

Hit OK... then again  OK......


THAT'S ALL....... YOUR DONE....


  • TO CHECK WHETHER JDK IS INSTALLED PROPERLY OR NOT.........JUST FOLLOW THE BELOW STEPS.........
 STEP:1   START-> RUN-> type CMD-> ENTER

STEP2: AT THE PROMPT ENTER JAVAC....IT WILL SHOW SOME POSSIBLE OPTIONS SCREEN EXACTLY LIKE BELOW.....WHICH MEANS JAVA IS INSTALLED PROPERLY..........
 


Hope ..now you now perfectly how to install JDK1.4 ..The same method is applicable to all the versions of the JDK....

think it is use ful to you....plz comment on post...whether it is use ful or not....if u have any doughts plz write in comment field ......-u r's HARI
Share/Bookmark

2 comments:

  1. really gud job dude.....wonderful content......suresh.hyd

    ReplyDelete
  2. ohhhh
    it's
    great this is a great to me
    that i don't no about instalation.

    ReplyDelete