Download and Install Java
We need to have JDK (Java Development Kit) installed inorder to work with Selenium Webdriver/Selenium. Let us look at how to download and Install Java.
Step : 1 Navigate to the URL : http://www.oracle.com/technetwork/java/javase/downloads/index.html
Step : 2 Goto "Downloads" Section and Select "JDK Download".
Step : 3 Select "Accept License Agreement" radio button.
Step : 4 Select the appropriate installation. In this case it is 'Windows 7-64' bit. Click the appropriate link and Save the .exe file to your disk.
Step : 5 Run the downloaded exe file and the Installer wizard is launched. Click 'Next' to continue.
Step : 6 Select the Features and click 'Next'.
Step : 7 The installer is extracted and the progress of the same is shown in the wizard.
Step : 8 The user can choose the install location and click 'Next'.
Step : 9 The installer installs the JDK and new files are copied across.
Step : 10 The Installer installs successfully and displays the same to the user.
Step : 11 To verify if the installation is successful, goto command prompt and just type 'java' as a command. The output of the command is shown below. If the Java Installation is unsuccessful or if it had NOT been installed it would throw, "unknown command" error.
No comments:
Post a Comment