- Selenium WebDriver Quick Start Guide
- Pinakin Chaubal
- 187字
- 2021-06-24 18:26:27
Installing Java 8
Follow the instructions below to install Java 8:
- Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and click on the appropriate version. I have selected the 64-bit Windows version since mine is a Windows machine.
- Once the file has downloaded, run the .exe file. Java will start installing it onto your machine. Next, we have to set two environment variables in order to use Java.
- Go to Control Panel and click Advanced System Settings.
- Click on Environment variables and add two system variables:
- One is JAVA_HOME. Provide the path of the root folder where Java is installed. In this case, this will be C:\Program Files\Java\jdk1.8.0_152.
- The second is the Path variable. Remember that this variable has to be appended after adding a ;. Here, the path of the bin folder has to be specified. In this case, this will be C:\Program Files\Java\jdk1.8.0_152\bin.
- The next step is to check our configuration. Open the Command Prompt and type java –version:

If you get an output similar to the one shown in the preceding screenshot, you are all set to start coding.
Now, let's get our hands dirty!
推薦閱讀
- Instant Handlebars.js
- Linux集群和自動化運維
- Windows Vista融會貫通
- 細說Linux基礎(chǔ)知識
- OpenStack系統(tǒng)架構(gòu)設(shè)計實戰(zhàn)
- Python UNIX和Linux系統(tǒng)管理指南
- Windows 8實戰(zhàn)從入門到精通(超值版)
- 精解Windows 10
- 從實踐中學(xué)習(xí)Windows滲透測試
- Raspberry Pi入門指南
- 程序員必讀經(jīng)典(算法基礎(chǔ)+計算機系統(tǒng))
- 電腦辦公(Windows10+Office2016)從新手到高手
- Mastering Eclipse Plug-in Development
- Mastering AWS CloudFormation
- 計算機操作系統(tǒng)(第3版)(微課版)