javafxports / javafxmobile-plugin

A gradle plugin for building mobile applications in java.
BSD 3-Clause "New" or "Revised" License
42 stars 19 forks source link

Contributing to JavaFx on Mobile #82

Open DeanWookey opened 5 years ago

DeanWookey commented 5 years ago

Our team is hoping to get our app working on mobile. The last time we had it somewhat working on mobile was before java 9 released. We tried to run it on IOS on Java 9 but had issues, and since we're on Java 10/11 with JavaFX 11 right now, we're not sure where things stand.

In the hopes of speeding things up, what's the best way for us to get involved and contribute to JavaFX on mobile? It appears to me that most of the work is being done on Gluon VM, but Gluon VM is closed source?

Then, from the Gluon website: "JavaFXPorts is the open source project that brings Java and JavaFX to mobile and embedded hardware, including iPhone, iPad, Android devices, and the Raspberry Pi. JavaFXPorts can be used on its own, but it’s even better combined with Gluon Mobile."

What exactly is/falls under Gluon Mobile? Is Gluon Mobile simply the Gluon Charm library? Or does Gluon VM also fall under the Gluon Mobile umbrella, and hence require a license? Is the above statement still true now that we need Gluon VM to deploy Java 9+ to mobile?

johanvos commented 5 years ago

javafxports is "simply" the port of the javafx platform to mobile/embedded systems. Apart from JavaFX, you need a decent JVM for those systems too. That is what is provided by Gluon VM.

Gluon Mobile bundles Gluon VM, javafxports and the Charm library (the latter is not required to run mobile apps, but it makes it easier to create nice apps fast).

We're in the process of making the Gluon VM product open-source. Once that is done, it will be much easier to contribute -- actually, I'm very much looking forward to that :)

DeanWookey commented 5 years ago

Thank you, that clears things up :)

odbuser2 commented 5 years ago

Any news on open sourcing GluonVM?

Also, how will this relate to https://github.com/johanvos/simplesvm?

That appears to be a path to use GraalVM (SubstrateVM), OpenJDK 11+, OpenJFX to create Linux, OSX, and iOS binaries (and possibly Windows soon given GraalVM is up to rc14 (not stable yet)).