- Mobile Test Automation with Appium
- Nishant Verma
- 195字
- 2021-07-02 20:34:40
Installing Java
Following are the steps to install Java:
- Visit the JDK download page and download the (jdk-8uversion-windows-xxx.exe) package based on your machine configuration (either the amd64 or x64).
- Install Java from the downloaded package.
- Once installed, bring up the search box and type advanced system setting. Click on the View advanced system settings search result.
- On the system properties window, click on the Advanced tab and click on Environment Variables.
- Under the System variables section, click on New and add a variable name--JAVA_HOME--and check for the installed location of the JDK. It will be similar to C:/Program Files/Java/jdk1.8.xxx.
- Under the System variables section, scroll to find PATH and click on edit. Add %JAVA_HOME%\bin at the end.
- Once done, launch the Command Prompt and type java -version; you should see the illustrated output with different version details based on the JDK version you installed:
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
- You can also try running the echo %JAVA_HOME% command in Command Prompt, which should display the path we set earlier.
推薦閱讀
- C語(yǔ)言程序設(shè)計(jì)(第2 版)
- Python程序設(shè)計(jì)(第3版)
- VSTO開(kāi)發(fā)入門(mén)教程
- Monitoring Elasticsearch
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- 人人都懂設(shè)計(jì)模式:從生活中領(lǐng)悟設(shè)計(jì)模式(Python實(shí)現(xiàn))
- ASP.NET 3.5程序設(shè)計(jì)與項(xiàng)目實(shí)踐
- Learning Salesforce Einstein
- 軟件體系結(jié)構(gòu)
- Everyday Data Structures
- Node.js區(qū)塊鏈開(kāi)發(fā)
- Simulation for Data Science with R
- 計(jì)算機(jī)組裝與維護(hù)(第二版)
- HTML5游戲開(kāi)發(fā)實(shí)戰(zhàn)
- 網(wǎng)頁(yè)設(shè)計(jì)與制作