This chapter includes the following sections:
The first step in starting with MAF application development is to install Oracle JDeveloper and the MAF extension.
In the current release, you must install JDeveloper using JDK 1.7, and then install the MAF extension in JDeveloper specifying JDK 1.8 in the dialog that appears after JDeveloper restarts after installation of the extension. This allows MAF applications to compile with JDK 1.8.
Following installation of the MAF extension in JDeveloper, configure additional development tools for the platforms where you intend to deploy your MAF application. For more information, see Setting Up the Development Environment .
Before you can create a MAF application using the MAF extension in JDeveloper, ensure that you have any third-party software required to develop applications for the platform on which you intend to deploy your MAF application.
Note:
You can deploy the same MAF application to all supported platforms without changing your application's code. You need the third-party software to test, debug, and deploy the MAF application on the target platform.
Before you start creating a MAF application that you are planning to deploy to the iOS platform, ensure that you have the following available:
A computer running Apple Mac OS X Version 10.9.5 or later.
Oracle JDeveloper (see Setting Up JDeveloper).
Oracle JDeveloper extension for MAF (see Installing the MAF Extension in JDeveloper).
Xcode and iOS SDK (see How to Install Xcode and iOS SDK).
The most recent version of JDK1.8.
The most recent version of JDK1.7.
Before you start deploying your application to a development environment (see the "Getting Started with Mobile Application Development" chapter in Developing Mobile Applications with Oracle Mobile Application Framework), decide whether you would like to use a mobile device or its simulator: if you are to use a simulator, see How to Set Up an iPhone or iPad Simulator; if your goal is to deploy to a mobile device, ensure that, in addition to the components included in the preceding list, you have the following available:
Various login credentials. For more information, see the "Deploying Mobile Applications" chapter in Developing Mobile Applications with Oracle Mobile Application Framework.
iOS-powered device. For more information, see How to Set Up an iPhone or iPad.
Before you start creating a MAF application that you are planning to deploy to the Android, ensure that you have the following available:
A computer running one of the following operating systems:
Microsoft Windows Vista
Microsoft Windows 7
Mac OS X
The most recent version of JDK1.8
The most recent version of JDK1.7
Android SDK Manager (see Setting Up Development Tools for the Android Platform)
Oracle JDeveloper (see Setting Up JDeveloper)
Oracle JDeveloper extension for MAF (see Installing the MAF Extension in JDeveloper)
Before you start deploying your application to a development environment (see the "Getting Started with Mobile Application Development" chapter in Developing Mobile Applications with Oracle Mobile Application Framework), decide whether you would like to use a mobile device or its emulator: if you are to use an emulator, see Setting Up Development Tools for the iOS Platform; if your goal is to deploy to a mobile device, ensure that, in addition to the components included in the preceding list, you have the following available:
Various login credentials. For more information, see the "Deploying Mobile Applications" chapter in Developing Mobile Applications with Oracle Mobile Application Framework.
Android-powered device. For more information, see Setting Up Development Tools for the Android Platform.
Oracle JDeveloper and its MAF extension are essential tools used in developing MAF applications.
Before you begin:
Download and install the latest version of JDK 1.7.
This version of JDK is required by JDeveloper.
Download and install the latest version of JDK 1.8.
This version of JDK is required by the MAF extension.
Download the 12.1.3.0.0 release of JDeveloper (Studio Edition) available at http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html
.
To install JDeveloper on a computer running the Windows platform:
In your file system, navigate to the directory that contains the JDeveloper executable file, then right-click that folder and select CMD Prompt Here As Administrator.
Run the following command to explicitly install JDeveloper using the required JDK 1.7:
<fully_qualified_path_to_JDK7>
\bin\java -jar
<JDEV_12.1.3_jar>
For more information, see Installing Oracle JDeveloper.
To install JDeveloper on a computer running the Mac OS X platform:
Open a Terminal window.
Set the JAVA_HOME
to Java 1.7 by running the following command:
export JAVA_HOME=$(/usr/libexec/java_home -v1.7)
Verify that Java 1.7 is used by running the following command:
java -version
Using the same Terminal window, install JDeveloper by executing the following:
java -jar
<JDEV_12.1.3_jar>
For more information, see the section about using Oracle JDeveloper on the Mac OS X platform in Installing Oracle JDeveloper.
To verify the installation of JDeveloper:
You download the MAF extension using the Check for Updates menu in JDeveloper.
Once you have installed the MAF extension, you need to configure additional development tools for the platforms where you intend to deploy your MAF application. For more information, see Setting Up the Development Environment .
To download and install the MAF extension:
In addition to the preceding steps, your development environment must be configured for target platforms and form factors. For more information, see Setting Up the Development Environment .