Sunday, 15 May 2016

HOW TO INSTALL JAVA MANUALLY FOR WINDOW 7



Installing java might be quiet easy when you know the procedures; you can Download and Install java as follows:
  1. Download java JDK ( eg jdk-6u2-windows-i586-p, jre-8u40-windows-i586, jre-8u40-windows-x64 or newer). In this program we will be using the underlined JAVA JDK (jdk-6u2-windows-i586-p). Worry not any java program will work but all features might not be on older version.
  2. Locate the java JDK file where it is Downloaded

  3. Double-click on the file to install it
  4. Click on Accept, the next menu shows
  5. Click on Next, wait for the next menu;

    6. Click Next on the next pop up menu;

    7. Click on finish to finish installing java

    CHECKING FOR JAVA AND COPYING THE LOCATION

    1. To Check if java is installed on the system, Click on Control Panel in START menu
    2. All you need to do now since java is installed is to search for the Location of file javac on the Local Disk (C:\) > Program Files > Java ; After searching, file location is found and its location is written below; For the file javac the location C:\Program Files\Java\jdk1.6.0_02\bin; copy or write the Location of the file.



    Connection java with Command Prompt:

    1. Right click on Computer on Desktop, then click on Properties, then click on Advance Setting > Environment Variables

    3. Search for Path in System Variables, Double click on Path to edit Variable values. Paste the copied javac location (C:\Program Files\Java\jdk1.6.0_02\bin ) in the Variable Values. Click on OK on the menus.

    4. Open the Command Prompt on START menu, START > All Program > Accessories > Command Prompt

    5. After opening the file type java –version wait for the response before typing javac –version, as shown below

    CONGRATULATION YOU HAVE SUCCESSFULLY INSTALLED JAVA ON YOUR SYSTEM. YOU CAN NOW RUN JAVA PROGRAMS ON YOUR SYSTEM


NB:  Stay updated on how to run java using command prompt.....

No comments:

Post a Comment