JavaFX port to iOS/Android status

Niklas Therning niklas at
Mon May 13 07:06:07 PDT 2013


Yes it's that simple! You specify the jars, static libraries with native
code, iOS frameworks and main class on the command line and the RoboVM
compiler builds you an iOS app bundle. The compiler can also be called from
Java code. There's an Eclipse plugin that does this already and I've had
Maven support in mind so some day there should be a Maven plugin.
Contributions are welcome! :-)

LLVM is just unzipped.

Xcode will have to be installed from App Store. The instructions on the web
site are a bit outdated now. Installing the "Command Line Tools" from
within Xcode is not required anymore.

RoboVM can produce iOS, Mac and Linux binaries at the moment.
Cross-compiling to iOS on Linux is not possible but I hope it will be one
day (I'm hoping on
Hopefully that toolchain can be compiled on Windows with cygwin to enable
cross-compiling to iOS on Windows too. To deploy to device for testing I
think libimobiledevice ( can be used to be
able to do it from Linux/Windows too.

On Mon, May 13, 2013 at 3:19 PM, Daniel Zwolenski <zonski at> wrote:

> Nice work.
> I'm interested in what can/should be done in terms of maven plugin support
> to make it super easy to build robovm apps?
> Do I understand the build process correctly:
> 1. Build a standard jar of our app code
> 2. Run the RoboVM compiler with the classpath set to contain our app jar
> and any dependent jars
> Is it really that simple?
> It also looks like RoboVM itself has a Java entry point, so it can be
> called from code rather than delegating out to the command line. If so, if
> RoboVM can be deployed as a jar to maven central (I see you're already
> building with maven so that helps), then the plugin could use this jar so
> the user doesn't have to download it manually.
> And llvm is just unzipped, it doesn't need any fancy installing? If so,
> then this could also potentially be auto downloaded so the user doesn't
> have to install it.
> Not too sure about clang, gcc and Xcode though. They look like they might
> need manual installs.
> A maven plugin might also be able to do things like deploy to the app
> store and start up the emulator (if available) but I reckon the basics
> first.
> From reading through the docs it looks like the build tools for robovm
> will work on Mac and Linux, but not windows. Have I got that right? Is this
> a technical limitation and a fact of life, or just a lack of time and
> resources to support windows?
> On 13/05/2013, at 10:30 PM, Dalibor Topic <dalibor.topic at>
> wrote:
> > On 4/24/13 8:03 PM, Mario Torre wrote:
> >> Also, it would be interesting to see what are the performances of JavaFX
> >> with GCJ and GNU Classpath, since GCJ can do AOT (not sure if GNU
> >> Classpath has enough class library code to run JavaFX, it will require
> >> some work probably).
> >
> > Keep in mind that gcj is in maintenance mode [1].
> >
> > cheers,
> > dalibor topic
> >
> > [1]
> > --
> > Oracle <>
> > Dalibor Topic | Principal Product Manager
> > Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:
> +491737185961>
> > Oracle Java Platform Group
> >
> > ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
> >
> > ORACLE Deutschland B.V. & Co. KG
> > Hauptverwaltung: Riesstr. 25, D-80992 München
> > Registergericht: Amtsgericht München, HRA 95603
> > Geschäftsführer: Jürgen Kunz
> >
> > Komplementärin: ORACLE Deutschland Verwaltung B.V.
> > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
> > Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
> >
> > Green Oracle <> Oracle is committed to
> developing practices and products that help protect the environment

More information about the openjfx-dev mailing list