This chapter includes the following sections:
Introduction to Installing the MAF Extension with JDeveloper
Installation Requirements for MAF Applications to be Deployed to the iOS Platform
Installation Requirements for MAF Applications to be Deployed to the Android Platform
Installation Requirements for MAF Applications to be Deployed to the Universal Windows Platform
The development of MAF applications requires that you install Oracle JDeveloper and the MAF extension. Also configure additional development tools for the platforms on which you intend to deploy the applications.
The first step in starting with MAF application development is to install Oracle JDeveloper and the MAF extension.
Install JDeveloper, and then install the MAF extension in JDeveloper.
Following the installation of the MAF extension in JDeveloper, configure additional development tools for the platforms where you intend to deploy your MAF application. See Setting Up the Development Environment .
Before you create a MAF application using the MAF extension in JDeveloper, ensure that you have the third-party software that is required to develop applications for the platform on which you intend to deploy your MAF application.
Note:
You can deploy a MAF application to all supported platforms without changing any code. You need the third-party software to test, debug, and deploy the MAF application on the target platform.
In addition to a computer running Apple Mac OS X and installations of JDeveloper and MAF, you need Xcode, iOS SDK, JDK1.8 to develop applications and deploy them to the iOS platform.
To develop a MAF application for deployment to the iOS platform, you require the following:
A computer running Apple Mac OS X
For the supported versions of operating systems that you can use to develop MAF applications for deployment to the iOS platform, see Certification Information on Oracle Technology Network at:
http://www.oracle.com/technetwork/developer-tools/maf/documentation/index.html
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.
Before you deploy an application to a development environment, see Getting Started with MAF Application Development. Opt for deployment to a mobile device or its simulator. If you want to use a simulator, see How to Set Up an iPhone or iPad Simulator. If you want to use a mobile device, ensure that in addition to the components included in the preceding list, you have the following available:
Various login credentials. See Deploying MAF Applications.
iOS-powered device. See How to Set Up an iPhone or iPad.
In addition to installations of JDeveloper and MAF, you need Android SDK Manager, JDK1.8, and an Android-powered device to develop applications and deploy them to the Android platform.
To develop a MAF application for deployment to the Android platform, you require the following:
A computer running one of the following operating systems:
Microsoft Windows
Mac OS X
Note:
For the supported versions of operating systems that you can use to develop MAF applications for deployment to the Android platform, see Certification Information on Oracle Technology Network at: http://www.oracle.com/technetwork/developer-tools/maf/documentation/index.html.The most recent version of JDK 1.8
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 deploy an application to a development environment, see Getting Started with MAF Application Development. Opt for deployment to a mobile device or its emulator. If you want to use an emulator, see Setting up Development Tools for the Android Platform. If you want to use a mobile device, ensure that in addition to the components in the preceding list, you have the following:
Various login credentials. See Deploying MAF Applications.
Android-powered device. See Setting Up Development Tools for the Android Platform.
In addition to a computer with x86 architecture running the Windows 10 OS and installations of JDeveloper 12.2.1.0.0 and MAF, you need Microsoft Visual Studio 2015 and JDK 1.8 develop applications and deploy them to the Windows platform.
To develop a MAF for deployment to the Universal Windows Platform (UWP), you require the following:
A computer with x86 architecture running the Windows 10 operating system
Microsoft Visual Studio 2015 (Enterprise, Professional, or Community edition)
MSBuild 14.0 (automatically installed with Visual Studio 2015)
Visual Studio Tools for Universal Windows Apps (an optional component when installing Visual Studio 2015)
Visual Studio 2015 is available at: https://www.visualstudio.com/products/vs-2015-product-editions.
JDeveloper 12.2.1.0.0
JDK 1.8
Oracle JDeveloper extension for MAF
After you have installed JDeveloper and the MAF extension, perform the tasks listed in Setting Up Development Tools for the Universal Windows Platform.
Follow the steps in the tasks to install JDeveloper on computers running the Windows or the Mac OS X platforms.
Download and install the latest version of JDK 1.8.
Note:
For the certified JDK versions required for different operating systems, see Certification Information on Oracle Technology Network at:http://www.oracle.com/technetwork/developer-tools/jdev/documentation/index.html:
Download the two JAR files of Oracle JDeveloper 12c 12.2.1.0.0 Generic/Others available at the Downloads for JDeveloper:
http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html
To develop Mobile Application Framework (MAF) applications, you need to install Oracle JDeveloper and its MAF extension.
To install JDeveloper from CLI on a computer running the Windows platform:
Create an installation folder.
Within the installation folder, place the folder that contains the JDeveloper jar files and the folder containing JDK 1.8.
Right-click the folder with the JDeveloper jar files, and click CMD Prompt Here As Administrator.
The Command-line interface (CLI) opens.
Invoke the JDeveloper installer with the following command:
\PathtoJDK8\bin\java.exe -jar jdev_suite_xxxxxx.jar
For example: D:\jdevInstall\jdk1.8.0_51\bin\java.exe -jar jdev_suite_122100.jar
The JDeveloper installation wizard is launched.
To install JDeveloper on a computer running the Mac OS X platform:
Open a Terminal window.
Set the JAVA_HOME
to Java 1.8 by running the following command:
export JAVA_HOME=$(/Library/Java/JavaVirtualMachines/jdk1.8.x_x.jdk/Contents/Home)
Verify that Java 1.8 is used by running the following command:
java -version
Using the same Terminal window, install JDeveloper by executing the following:
java -jar
<JDEV_12.2.1_jar>
To verify the installation of JDeveloper:
<JDEV_HOME>
\jdev\bin\jdev.conf
file and confirm that the SetJavaHome
property points to JDK 1.8.For more information about installing JDeveloper, see Roadmap for Installing Oracle JDeveloper in Installing Oracle JDeveloper.
Download and install 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 on which you intend to deploy your MAF application. See Setting Up the Development Environment .
Note:
Close any existing MAF applications you have open in JDeveloper before you install a newer version of the MAF extension. Do this to make sure that MAF migrates your existing application to successfully use the new version of MAF. Verify that the application no longer appears in the Applications window of JDeveloper. For more information about migrating a MAF application, see Migrating Your Application to MAF 2.4.0.To download and install the MAF extension:
In addition to the preceding steps, the development environment must be configured for target platforms and form factors. See Setting Up the Development Environment .