- 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!
推薦閱讀
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Linux系統(tǒng)文件安全實(shí)戰(zhàn)全攻略
- Mobile-first Bootstrap
- 循序漸進(jìn)學(xué)Docker
- macOS效率手冊
- ElasticSearch Cookbook
- iOS 8開發(fā)指南
- Cassandra 3.x High Availability(Second Edition)
- Introduction to R for Quantitative Finance
- 鴻蒙操作系統(tǒng)設(shè)計(jì)原理與架構(gòu)
- Ubuntu Linux操作系統(tǒng)實(shí)用教程
- Zabbix監(jiān)控系統(tǒng)之深度解析和實(shí)踐
- openEuler操作系統(tǒng)核心技術(shù)與行業(yè)應(yīng)用實(shí)踐
- Docker容器技術(shù)與運(yùn)維
- Microsoft DirectAccess Best Practices and Troubleshooting