Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Java FX 8 Essentials

You're reading from   Java FX 8 Essentials Create amazing Java GUI applications with this hands-on, fast-paced guide

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781784398026
Length 224 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Using RoboVM to run JavaFX on iOS

RoboVM is the bridge from Java to Objetive-C. Using this, it becomes easy to develop JavaFX 8 applications that are to be run on iOS-based devices, as the ultimate goal of the RoboVM project is to solve this problem without compromising on developer experience or app user experience.

As we saw in the previous chapter about Android, using JavaFXPorts to generate APKs was a relatively easy task due to the fact that Android is based on Java and the Dalvik VM.

On the contrary, iOS doesn't have a VM for Java, and it doesn't allow dynamic loading of native libraries.

Another approach is required. The RoboVM open source project tries to close the gap for Java developers by creating a bridge between Java and Objective-C using an ahead-of-time compiler that translates Java bytecode into native ARM or x86 machine code.

Features

Let's go through the RoboVM features:

  • Brings Java and other JVM languages, such as Scala, Clojure, and Groovy, to iOS-based devices...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image