Friday, May 22, 2009

Configuring Java On Windows

Hi
Today I would like to share about how to configure JAVA on Windows machine.
Many of the SCM tools are depending on Java, So in order to run SCM tools on your machine JAVA is required, To check whether your PC has java or not, just open command prompt from start >> run and type CMD and enter.
In command prompt type "javac" and hit enter. if it say "javac" is not a recognized command, then you computer is not configured JAVA.
Here are simple steps to configure JAVA.

  1. Download latest version of JDK from Java website : Click Here or alternatively you can download from here: Click Here (Rapidshare)
  2. Install JDK.
  3. Right click on My Computer and click on Properties.
  4. Advance >> Click Environment Variables.
  5. Under System Variables click "New"
  6. Name: JAVA_HOME
  7. Path: C:\Program Files\Java\jdk1.6.0_13 and click OK.
  8. Java_Home
  9. Under System Variables find variable name "Path" and click "Edit" and add the following path with ";D:\Program Files\Java\jdk1.6.0_13\bin" (Remove quotes)
  10. java path
  11. Click OK and Click Apply and OK on Properties Window.
  12. Now go to command prompt and type "javac" and hit enter.
  13. If you get the following message then JAVA is configured in you machine.

Java Configuration

If you have any queries or feedback, please feel free to post as comments.

Kumar.

No comments:

Post a Comment