Installing the JDK
You need the Java SE Development Kit (JDK) to create Android applications. This appendix shows you how to download and install it.
Downloading and Installing the JDK
Before you can start compiling and running your programs, you need to download and install the JDK as well as configure some system environment variables. You can download the latest version of the JDK for Windows, Linux, and Mac OS X from this Oracle website:
If you click the Download link on the page, you’ll be redirected to a page that lets you select an installation for your platform: Windows, Linux, Solaris or Mac OS X. The same link also provides the JRE. However, for development ...