• Stars
    star
    383
  • Rank 111,985 (Top 3 %)
  • Language
    Java
  • License
    GNU General Publi...
  • Created about 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create native Java(FX) apps for desktop, mobile and embedded

Gluon Substrate

Maven Central Github Actions

Gluon Substrate is a tool that converts Java(FX) Client applications into native executables for desktop, mobile and embedded devices. It uses the GraalVM GraalVM native-image tool to compile the required Java bytecode into code that can be executed on the target system (e.g. your desktop, on iOS, on a Raspberry Pi).

Gluon Substrate deals with JavaFX resources (e.g. FXML, shader code,...) and with platform-specific Java and native code that is part of the JavaFX platform.

While Gluon Substrate has an API that allows direct access to it, it is recommended to use the Maven plugin which simply requires some configuration in the pom.xml file of your project. The plugin will then invoke the Substrate API which in turn will use GraalVM native-image to compile the Java code, and it will link the result with the required libraries and configuration into a native executable.

There are a number of samples available that show you how to get started with Gluon Substrate. We recommend using your favourite IDE to run those samples.

Compilation

Linux hosts

To compile Gluon Substrate on Linux you need to install these development packages:

# on ubuntu (debian flavors)
apt-get install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libfreetype6-dev
apt-get install libgl-dev libglib2.0-dev libgtk-3-dev libpango1.0-dev libx11-dev libxtst-dev zlib1g-dev

# on fedora (redhat flavors), requires https://rpmfusion.org/
dnf install alsa-lib-devel freetype-devel glib2-devel gtk3-devel libX11-devel
dnf install libXtst-devel mesa-libGL-devel pango-devel zlib-devel
dnf install ffmpeg-devel

Issues and Contributions

Issues can be reported to the Issue tracker

Contributions can be submitted via Pull requests, providing you have signed the Gluon Individual Contributor License Agreement (CLA).

More Repositories

1

scenebuilder

Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
Java
740
star
2

gluon-samples

Gluon sample projects
Java
296
star
3

gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
Java
186
star
4

maps

Java
138
star
5

client-samples

Client samples to run with Gluon Client plugins for Maven and Gradle
114
star
6

rich-text-area

Java
106
star
7

gluonfx-gradle-plugin

Plugin that simplifies using Gluon Client for Java/JavaFX gradle projects
Java
99
star
8

attach

Java
48
star
9

hello-gluon-ci

HelloGluon sample including Github actions for automating builds and releases
Java
31
star
10

ignite

Gluon Ignite creates a common abstraction over several popular dependency injection frameworks. With this library, developers can use popular dependency injection frameworks in their JavaFX applications, including inside their FXML controllers.
Java
28
star
11

wave-app

The Gluon Wave App that runs with Gluon Mobile, OpenJFX, OpenJDK 11 and GraalVM
Java
23
star
12

promise

JavaScript
23
star
13

ide-plugins

Gluon integration with Java IDEs
Java
20
star
14

connect

Java
15
star
15

emoji

Emoji support
Java
12
star
16

hello-world

Contains a simple Gluon Mobile hello world application
Java
8
star
17

gluonfx

GluonFX is an integrated suite of components that enhances JavaFX with essential features, including Rich Text Area, Maps, Emoji, and more.
8
star
18

gluon-build-license

7
star
19

javaone2016

JavaOne 2016 mobile application
Java
6
star
20

uongl

Java
5
star
21

gluon-samples-gradle

Java
4
star
22

AttachExtended

An extension of Gluon Attach, showing how to create custom Attach services
Java
3
star
23

projavafx9

Samples for Pro JavaFX 9
Java
3
star
24

gluon-build

3
star
25

otnarticle1

Java
3
star
26

TelematicsPOC

POC of vehicle telematics on Embedded
Java
2
star
27

picluster

Java
2
star
28

gradle-sass-vaadin

Gradle plugin for preprocessing SASS with support for JavaFX CSS
Groovy
2
star
29

gluonfx-maven-archetypes

Maven archetypes for creating Gluon Client maven projects
Java
2
star
30

AttachPrinter

Attach Extended with PrinterService
Java
1
star
31

8u-dev-rt

C++
1
star
32

knowledge-base

Knowledge base for JavaFX and Gluon related technologies
CSS
1
star
33

equation

The library part of the Wave Equation
Java
1
star
34

DevoxxBadges

Java
1
star