Questions tagged [gluonfx]

Use this tag for questions about the Gluon platform, enabling Java development on Desktop, Android, iOS and Embedded devices, with GluonFX plugins, JavaFX and GraalVM technologies, running on the JVM or as a native-image.

For more information on how to get started check out the documentation.

83 questions
0
votes
0 answers

DatePicker dialog doesn't work on iPhone 12 or greater

With iPhone 12 or higher, the DatePicker window blocks its execution when the showAndWait method is called, without showing exceptions and without opening its dialog. In addition, it is no longer possible to go back but you must necessarily close…
wstech
  • 11
  • 2
0
votes
0 answers

Gluon FX: Native Window app fails: no glib-lite in java.library.path

My goal is to create a Windows ".exe" file for my JavaFX Pac-Man game, see https://github.com/armin-reichert/pacman-javafx. I followed the instructions from the Gluon website https://docs.gluonhq.com/#platforms_windows and installed all the required…
0
votes
0 answers

Does anyone have a GluonFX codebase with successful native builds after including application logging?

I started using LogBack logging library in my GluonFX app. ch.qos.logback logback-classic 1.2.6 It's fine during mvn gluonfx:run but…
Javateer
  • 65
  • 6
0
votes
1 answer

Gluonfx build using docker fails, with error: Cannot run program "ie4uinit": CreateProcess error=2, The system cannot find the file specified

I'm building a native image using the Gluonfx plugin. I'm doing this procedure inside a docker container. The image builds the 7 steps, but doing the link throws an error complaining about missing ie4uinit.exe. These are the error logs: [Mon Mar 28…
Ikaro
  • 165
  • 1
  • 12
0
votes
1 answer

jnidispatch.dll not found in resource path after compile to native with gluonfx

I'm compiling to native a javafx app using gluonfx plugin. To perform some network functions I needed to add some pcap dependencies, I tested in debug mode and everything goes fine. But after compile to native I have the following error when I try…
Ikaro
  • 165
  • 1
  • 12
0
votes
0 answers

Problem using WebView and GluonFx / Gluion Mobile native build on Windows

I am trying to use a WebView within my JavaFX application built using Gluon Mobile. It works fine when running in IntelliJ using the gluonfx:runagent, and javafx:run targets. However, when I try to run the native application then I get the following…
jdf76
  • 1
0
votes
0 answers

Error in native build with GluonFX, the library is not in the classpath

I'm trying to build a JavaFx and compile it to native with GluonFX. Recently I needed to add a feature that uses a native C Library. I used org.graalvm.nativeimage for this. The problem I'm having is that the "Link" step fails because it doesn't…
Ikaro
  • 165
  • 1
  • 12
0
votes
1 answer

Native image with gluonfx fails if I use org.graalvm.nativeimage.c

I have a JavaFx project that I am compiling to native with no problems using GluonFx. I recently had to add a feature that uses a DLL through to make use of its native functions. I have done this through GraalVm using this solution:…
Ikaro
  • 165
  • 1
  • 12
0
votes
0 answers

gluonfx / javafx native windows 10 - mvn gluonfx:run works but mvn:gluonfx:nativerun throws NPE and running .exe does not show controller behaviour

I have a simple javafx application called Sample that shows the current time. It has a controller like that SampleController.initialize() Timeline clock = new Timeline( new KeyFrame( …
r-uu
  • 423
  • 1
  • 4
  • 18
0
votes
1 answer

Why is my JavaFX 17 Application not building with Gluon ? Logged as JNI / Reflection problem

I am following the documentation given by Gluon : here. To try to make it simple I'll try to go straight to the point giving the milestones I got through, and where I'm stuck. --------- ENVIRONNEMENT : OS : Windows 10 x64 IDE : Eclipse, Version:…
Daric
  • 83
  • 9
0
votes
0 answers

Push notifications are not working on iOS

I configured my app project starting from the documentation https://docs.gluonhq.com/ and using the GluonFX Gradle plugins. But the push notifications are not working on iOS. It is not displayed in the notification center, nor on the lock screen,…
wstech
  • 11
  • 2
0
votes
1 answer

Query with ElasticSearch body using GluonhqConnect.Provider.RestClient

I am trying to use the com.gluonhq.connect.provider.RestClient to query an API that is Elastic Search enabled. Maven: com.gluonhq connect 2.0.1
Jinx3y
  • 53
  • 2
  • 8
0
votes
0 answers

Building Signed APK of Javafx application with GluonFX plugin

I am using HelloFX project from gluon-samples repository. I've used a keystore (which was generated for a different project) and tried to build APK of this app. COMPILE TASK and LINK TASK completed successfully. But PACKAGE TASK failed with…
0
votes
1 answer

JavaFX application does not compile well when using LauncherImpl instead Application

I have a JavaFX application which compiles to native using GluonFx plugin. I want to add a Preloader to show when starting. I managed it by changing the initialization from: Application.launch(MainView.class, args) to…
Ikaro
  • 165
  • 1
  • 12
0
votes
0 answers

Malfunctioning program compiled with gluonfx: build

I compiled my JAVA program via GluonFX, under Windows, to get a native language version. When the program is running, I get various error messages, such as: java.lang.NoSuchMathodException: java.lang.Math.sin (double) Below are other errors, when I…