Preflight Check:Java And Android SDKs

From The Oxygene Language Wiki
Jump to: navigation, search
Preflight Check Header.png


This is the Preflight Checks page for missing Java or Android SDKs.

Java SDK

Oxygene for Java requires version 6.0 or later of the Java Development Kit (JDK) to be installed.

For Windows, we recommend installing the "x86"/"i586" release of version 7 JDK, available below.

If you manually installed or deployed a JDK on your development system in a non-standard way, you may need to manually configure the path to the JDK in the IDE options. See the botom of this page for details. You might also need to provide full paths to referenced jar files in your project to build from the command line.

Direct Download


Android SDK

To create Android applications, Oxygene for Java requires the Android SDK to be installed, in addition to the JDK (above).

Direct Download

For Windows, we recommend using .exe installer available under the "Download for Other Platforms" heading at the address below, as it will automatically register the Android SDK with the system so that Oxygene can find it. If you download the .zip version of the SDK and manually extract it, you will need to manually configure the path to the Android SDK in the IDE options, as described further down on this page.

NOTE: At this stage, do not download the ATD Bundle, but only the "SDK-only" download; the ADT Bundle contains different folder layouts that names for some of the tools, that the Oxygene toolchain is not (yet) set up for.

Note that if the Android SDK installer complains that the JDK cannot be found, that may be because you have the x64 version of the JDK installed (see above). Simply install the x86 (i.e. 32-bit) as well to solve this problem.

After installing the ADK, setup will automatically offer to launch the Android SDK Manager. In the SDK Manager, check to install

  • the "Android SDK Platform-tools" and
  • at least one API version (usually the newest)

and click "Install" to install.

Note that you need to click Accept All in the subsequent dialog, or some of the packages you selected may not be installed.

Android-SDK-Manager.png


Manually Specifying Paths

Both the path to the Java Runtime and the Android SDK can be specified manually in the Options Dialog under Projects and Solutions|Java and Android.

The dialog will show path values in gray if a default install is detected, and in black if a path is explicitly configured for Oxygene.

Java and Android SDK Path Options.png
Personal tools
Namespaces

Variants
Actions
Navigation
Getting Started
Sections
If you know
More
Toolbox