在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):javafxports/javafxmobile-plugin开源软件地址(OpenSource Url):https://github.com/javafxports/javafxmobile-plugin开源编程语言(OpenSource Language):Java 65.7%开源软件介绍(OpenSource Introduction):javafxmobile-pluginThe javafxmobile-plugin is a gradle plugin that unifies the building of Java and JavaFX applications for different target platforms:
Before you startjavafxmobile-plugin version 1.x brought Java 8 to mobile development. Version 2.x is an upgrade of the plugin that enables Java 9 development by leveraging Gluon VM. Gluon VM is Gluon's custom developed Java virtual machine that specifically targets mobile devices. Note! Gluon VM is still in active development and is at the moment only supported on iOS devices. If you want to develop an application for production, please use the stable 1.x version. If you want to experiment with Java 9 features, please use the new 2.x version. Getting startedIDE pluginThe easiest way to get started is by using the Gluon IDE plugin for your IDE: Once the IDE plugin is installed, you can create a new Gluon Mobile project. SampleA complete basic sample is also available from the Gluon samples repository: https://github.com/gluonhq/gluon-samples/tree/master/singleview-gluonvm PrerequisitesGeneraliOS
Be aware that the first time the plugin runs an iOS task, it will take a long time (more than 15 minutes) to ahead-of-time compile all the Java modules.
After this finishes successfully, all these modules are cached locally ( AndroidNote! Be aware that Java 9 APIs on Android are not supported. If you use version 2 of javafxmobile-plugin, you must make sure that you don't use any new Java 9 APIs.
Note! You must run the sdkmanager using Java 8. Before running this command, set your JAVA_HOME variable to a Java 8 installation, e.g.
Make sure to switch back to Java 9 for your mobile development.
UsageIf you create your project without the use of the IDE plugins, add the following to your
LicenseThis project is licensed under the 3-Clause BSD license. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论