JavaFX on iOS w/OpenJDK Mobile?

cerebra soft cerebrasoft at gmail.com
Sun Apr 3 18:07:05 UTC 2016


Hello all,

Great work on the mobile port of the JDK.  With some work I've been able to
successfully build the JDK and launch it in the iOS simulator and on an iOS
device.  I used the RunJava Xcode project and haven't attempted to use the
Java Launcher framework yet.

I see from the mobile project page that currently the goal is headless
support up to compact2 profile.  But of course I want more. ;)

I see that OpenJDK JavaFX builds are working on iOS using the RoboVM based
compiler and the Android Dalvik runtime.  With the recent purchase of
Xamarin by Microsoft the future of RoboVM is uncertain.  Also Android
itself is moving to OpenJDK instead of remaining on Dalvik.  So the future
of JavaFX on iOS via RoboVM is unsure for multiple reasons.

How far out would you guess (and I understand it would probably be a guess)
would it be for the mobile project to support full JRE functionality on
iOS? Is it a matter of just trying to build JavaFX on top of what the Java
Mobile project already has, or would that be a fools errand?

Presuming that may be far off and a great deal of work.  What options are
there for using the mobile JRE on the 'back end' of the application and
making the 'ui' in something else?  I'd love to keep as much of my
application logic in Java across platforms.  Primarily, I think I would
need a good way of calling into the JVM from the UI layer.  I'm somewhat
familiar with JNI and abstractions like JNA.  Would those work just as well
with the mobile JRE on iOS?

Thanks,
Rob


More information about the mobile-dev mailing list