- Android Application Development with Maven
- Patroklos Papapetrou Jonathan LALOU
- 188字
- 2021-07-23 20:06:09
Installing Java
Prior to anything else, download and install a JDK7 and optionally a Java Runtime Environment (JRE). Both of them are downloadable from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html. As a reminder, the JDK is a collection of tools needed to develop, compile, and monitor a Java application in the development state, whereas a JRE is needed to run a Java-compiled class or an archive. Keep in mind also that at the time this book was written, Android was not officially supporting JDK8 and that Oracle had already announced the end of public releases of JDK7. We hope that now that you read these lines, Android is compatible with the latest JDK. If not, then you should pick and install the latest available update of JDK7.
Set the environment variable JAVA_HOME
to the right location, such as /var/opt/java
or C:\win32app\jdk_1.7.X
folder.
Then, add $JAVA_HOME/bin
or %JAVA_HOME%\bin
parameter to your PATH
variable.
Check this by running the command java -version
in a terminal. Here is an example of the expected output:
C:\>java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode)
- 劍指Offer(專項突破版):數據結構與算法名企面試題精講
- PyTorch Artificial Intelligence Fundamentals
- FreeSWITCH 1.6 Cookbook
- 游戲程序設計教程
- 軟件工程
- Haxe Game Development Essentials
- LabVIEW虛擬儀器入門與測控應用100例
- C語言程序設計與應用(第2版)
- Magento 2 Beginners Guide
- Instant GLEW
- 虛擬現實建模與編程(SketchUp+OSG開發技術)
- Learn Linux Quickly
- Visual FoxPro程序設計實驗教程
- Java程序設計(項目教學版)
- C++面向對象程序設計教程