Follow Us on Twitter

Oracle JET 2.0 released

by Herman Brunnekreef on March 2, 2016 · 2 comments

Last monday Oracle released JET version 2.0. The most important news in my opinion is that Oracle JET now is Open Source. Also Oracle JET is available on Github here.

There are a lot of new features added to 2.0. On this site there’s an overview of the new features.

One nice feature is that you can generate a hybrid mobile application.

There are some prerequisites before you can develop a hybrid mobile application. First you must install yeoman, grunt and cordova. Yeoman is a tool to generate a template for your application. Grunt is a JavaScript task runner and Cordova is necessary for cross-platform development.

The installation of these tools can be done in the terminal:

npm –g install yo
npm –g install grunt
npm –g install cordova

After the installation of the components you can generate a mobile hybrid application. Enter in a terminal:

yo oraclejet:hybrid android_navbar  --appName="android_navbar" --template=navBar --platforms=android

The application is generated. It can take a while.

Change the directory in the terminal:

cd android_navbar

Then build the application with Grunt:

grunt build --platform=android


To run the application you can choose to run the application in the browser or in an Android emulator. I installed Android studio download here and created a virtual device.
One remark: When you use an emulator make sure you installed in the SDK Manager Android 5.1.1 (version 22). This is required by Cordova.

Now you can run the application:

grunt serve --platform=android --destination=Nexus_5_API_23_x86

And in the emulator you can see the generated application:


Oracle JET 2.0 released, 4.0 out of 5 based on 1 rating
VN:D [1.9.22_1171]
Rating: 4.0/5 (1 vote cast)

{ 2 comments… read them below or add one }

Nikita August 17, 2016 at 2:05 pm

I’ve been trying to build the same. When trying to run in Nexus emulator, it keeps asking to allocate more space to the Gradle Daemon and still does not show the app in the emulator. Can you help?


Herman Brunnekreef August 17, 2016 at 8:57 pm

I created a virtual device in Android Studio. In AVD Manager (you can find this in / sdk) you can set the memory settings. My settings are 1536mb for RAM and 64mb for Heap.
Hope this helps.


Leave a Comment


Previous post:

Next post:

About Whitehorses
Company profile

Whitehorses website

Home page

Follow us
Blog post RSS
Comment RSS