Java for iOS? Gluon Client plugins support Java & JavaFX on iOS devices
Java enters uncharted territory: iOS devices. Gluon is working on bringing Java development to iOS devices with Gluon Mobile. The Gluon client plugin now offers configurations for running Java 11+ apps on iOS devices (or the iPhone simulator).
Java on iOS devices? The latest news from Gluon (Java on iOS, for real) announces that the Gluon client plugin now offers configurations for running Java 11+ and Java FX apps on iOS devices (or the iPhone simulator).
With Gluon Mobile, developers can create iOS and Android apps in Java, taking advantage of a language and ecosystem they are already familiar with in order to perform operations. Gluon Mobile provides UI control for the client application, handles communication with the server-side cloud and third-party services, and abstracts the platform-specific APIs. Gluon Client tools can generate a native executable for iOS devices.
Java on iOS
The Gluon client plugin, from the documentation:
The Gluon Client plugin leverages GraalVM, OpenJDK and JavaFX 11+, by compiling into native code the Java Client application and all its required dependencies, so it can directly be executed as a native application on the target platform.
One of the advantages is a much faster startup time, as we don’t need the JVM to start anymore. The resulting application will be entirely integrated with the native operating system.
The Gluon Client plugin comes in two flavors, depending if you are a Maven or a Gradle user.
This software is currently in its beta phase and is under active development.
Gluon Mobile deploys to all platforms privately or via available app stores. It uses GraalVM native builds on iOs. According to the announcement post, future work includes tools, build performance, and configuration.
The project leverages products that developers should already have familiarity with, including OpenJDK and OpenJFX.
Read the Gluon Mobile documentation and find out more about Java on mobile devices.
— GluonHQ (@GluonHQ) June 13, 2019
Start with Gluon
Here’s the rundown for open source developers. Gluon offers a potential open source license for its products. However, it does not offer open source for all.
The license request comes with a few stipulations that a project must meet first. The project must be at least 3 months old, in active development, and have a regularly updated website and builds. Devs must continuously renew the license annually.
Interested developers should inquire about the open source license here.
What do you think about this? Should developers create iOS apps in Java? Will you test it out?