- 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.
推薦閱讀
- 大學計算機基礎(第二版)
- What's New in TensorFlow 2.0
- Visual C++實例精通
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- 基于Swift語言的iOS App 商業實戰教程
- D3.js 4.x Data Visualization(Third Edition)
- Creating Stunning Dashboards with QlikView
- Getting Started with Python and Raspberry Pi
- 人工智能算法(卷1):基礎算法
- 一步一步跟我學Scratch3.0案例
- 工業機器人離線編程
- R語言數據挖掘:實用項目解析
- JavaScript前端開發基礎教程
- Google Adsense優化實戰
- 企業級Java現代化:寫給開發者的云原生簡明指南