O'Reilly logo

PhoneGap Essentials: Building Cross-Platform Mobile Apps by John M. Wargo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required