iOS Support¶
Bringing Java to iOS follows a staged approach. First we validate the runtime with a minimal example, then we provide two independent tracks for developers: generating Java libraries for use in iOS projects, or building full JavaFX applications.
This is shown in the following image.
flowchart TD
style JVM fill:#4287f5
style classes fill:#4287f5
style OpenJDK fill:#4287f5
style helloworld fill:#05ab3d
style javalib fill:#05ab3d
style javaapp fill:#05ab3d
JVM --> OpenJDK[OpenJDK Mobile SDK]
classes[JDK Classes] --> OpenJDK
OpenJDK --> helloworld[HelloWorld.jar
on iOS]
helloworld --> javalib[Native java libs
in iOS apps]
helloworld --> javaapp[JavaFX apps]
Tracks¶
- HelloWorld on iOS – Validate the VM and class libraries with a minimal program.
- Java Libraries for iOS – Expose Java methods to be callable from Objective-C/Swift.
- JavaFX Applications on iOS – Build full JavaFX apps for iOS.