- Mobile Test Automation with Appium
- Nishant Verma
- 180字
- 2021-07-02 20:34:37
Installing Java
If you have had the development machine set up before, you might have a couple of software and packages already installed. You can skip the installation part and check for the version of the installed packages. If the versions are significantly old, you might want to upgrade them.
For the new machines, follow the mentioned steps for installing Java:
- Visit the JDK download page and download the jdk-8uversion-macosx-xxx.dmg package based on your machine configuration (either the amd64 or x64).
- Install Java from the downloaded package.
- Once installed, launch the terminal and type in this command to determine the Java version:
java -version
- You will see the following output if Java is installed correctly:
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)
- Add the following line to your .bash_profile file. In Mac OSX 10.5 or later versions, Apple recommends to set the $JAVA_HOME variable to /usr/libexec/java_home:
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$PATH:$JAVA_HOME/bin
Now that we have finished installing Java, let's move on to installing Android SDK.
推薦閱讀
- Learning Cython Programming(Second Edition)
- 神經網絡編程實戰:Java語言實現(原書第2版)
- C語言程序設計實踐教程
- Unity 5.x By Example
- 微信小程序開發解析
- 青少年信息學競賽
- PLC應用技術(三菱FX2N系列)
- Photoshop CC移動UI設計案例教程(全彩慕課版·第2版)
- Python 3 Object:oriented Programming(Second Edition)
- Mastering OAuth 2.0
- Python編程入門(第3版)
- Spring Boot學習指南:構建云原生Java和Kotlin應用程序
- MySQL從入門到精通
- Laravel 5.x Cookbook
- JSP編程教程