Jump to content

  •  

Photo

How to: Install the Java JDK on Windows 7

Windows 7 Java

  • Please log in to reply
No replies to this topic

#1 Wilson18

Wilson18

    Administrator

  • root
  • 112 posts
  • LocationUniversity of Birmingham

Posted 08 October 2014 - 06:58 PM

Installing the Java JDK on Windows 7

In this tutorial, I will be showing you how you can install the Java JDK and how to fix the

'javac' is not recognized as an internal or external command, operable program or batch file.

problem.

To install the Java JDK on Windows, you will need to open up an internet browser and navigate over to here. When you get there, you will need to accept the licence agreements and then click the download button next to where it says your version of windows.

post-1-0-64810700-1412792635.png

Once you have downloaded the JDK, you can run the installer. The installer is like all others, just keep spamming next untill its installed! :P

post-1-0-41902200-1412792636.png

Now that it has installed, you will need to go to the start menu and open CMD. You can see this been done with the images below.

post-1-0-42459200-1412792959.png

post-1-0-83728700-1412792958.png

When you have CMD open, you should type in javac (as shown in the image above). If this errors, like above then you will need to progress on to the next step. If not, your done!

 

You will now need to find the installation directory for where java is installed. It would have asked you for this during the install. My install directory is C:\Program Files\Java\jdk1.8.0_20\bin. If you are unsure, check the video above for further information. Once you have this, copy the address.

post-1-0-94741200-1412793479.png

You will now need to right click on the My Computer link in the Windows Explorer (on the right) and click properties. This should open a new window. In the new window, on the right, click the Advanced System Settings. Again, this should open up a new window. Now click the Environment Variables to open up our next window.

 

post-1-0-59490100-1412793874.png

 

post-1-0-24176100-1412793875.png

Finally, in the System Variables section, find where it says path and then click the edit button. In this final window, you will need to go right to the begining of the text and paste your path copied earlier followed by a semi-colon;

post-1-0-94801400-1412794053.png

Now you have done this, click ok to save the settings and then reboot your machine. You can then open up CMD again and type in javac. It should look something like this now. If you have any issues, watch the video and then comment below if you are still stuck.

post-1-0-72704800-1412794215.png


List what you read?

Check me out on: YouTube, Twitter, Facebook, Google+






Also tagged with one or more of these keywords: Windows 7, Java