Download the latest version of the Java JDK from here.
Click on Accept License and choose 32-bit or 64-bit for windows.
Double-click on the install file and click on next up to install the java.
Now open command prompt window, type "java -version" and press enter.
Java installed but we should set the Environment Variables.
How to set Environment Variables?
Right click on My Computer-> Click on Properties
In Property window click on Advanced system settings.
In System Properties window click on Environment Variables.
In Environment Variables window, click on path in System variables section.
Now click on Edit. Careful not to delete anything in this box. At the end of the text box, add a semi-colon if there is not one already, and add "C:\Program Files (x86)\Java\jdk1.8.0_05\bin\;" to the text box. This is assuming you did not change the file path of the installation.
Now click on OK.
Now open command prompt window, type "java -version" and press enter.
Congratulations! You have taken your first step to starting Java programming.
Comments
Post a Comment