B. Installing the Oracle Java Developer Kit

The Android and BlackBerry development tools use Oracle’s Java Developer Kit (JDK) to build (compile) Java applications for Android. Apple’s Mac OS will either already include the JDK or install it automatically when you run your first Java program, so if you’re installing on a Macintosh computer, you can skip this appendix and move on.

Downloading the JDK

To obtain the JDK, point your browser of choice to http://java.oracle.com, and then click the Get Java button on the landing page. On the page that appears, scroll down and click the Download button for the appropriate JDK version to download.

At this time, Oracle is shipping version 7 of the JDK, but the Android development tools support only versions ...

Get PhoneGap Essentials: Building Cross-Platform Mobile Apps now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.