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
3
votes
1 answer

GraalVM will not work with a database connection

I'm trying to build a native image with Graalvm but kept getting errors every time i try to build it with mvn gluonfx:build with a database connection in the project, ex:H2 DB. A normal run will work Without any database connection the native image…
3
votes
0 answers

Error generating native image with Gluonfx for log4j and slf4j dependencies

I'm trying to build a native image of a JavaFX app with Gluonfx, Micronaut and Graalvm As logging framework I'm using log4j2 and log4j-slf4j-impl to route logs from slf4 to log4j. Every time I want to run gluonfx:build I get multiples errors of…
Ikaro
  • 165
  • 1
  • 12
2
votes
0 answers

ComboBox remains null from Scene Builder when try to add items

I am stuck in something basic. A simple comboBox of integers, made from Scene Builder shows null when I try to insert items. Min Rep Example Fxml :
VMi
  • 346
  • 3
  • 16
2
votes
1 answer

JavaFX access internal webkit document

I am trying to access javafx.web/com.sun.webkit.dom from my unnamed module javafx project. For this, I have created a class com.sun.webkit.dom.DomMapper. I do not see any error in the IDE, but when I run it using mvn clean javafx:run it complains…
2
votes
0 answers

GluonFX, native image for windows and CDI

I am trying to create a native image for windows for an existing JavaFX application using maven. I have successfully created native images for windows for smaller applications, so the general prerequisites should be ok (see details about my…
r-uu
  • 423
  • 1
  • 4
  • 18
2
votes
1 answer

Package#getImplementationVersion() returns null with native image (GraalVM/GluonFX)

I have a JavaFX-based desktop app, for which I create native images via GraalVM/GluonFX. To retrieve the version of the app during runtime, I previously – when there was only a fat JAR of the app – used Package#getImplementationVersion(). However,…
beatngu13
  • 7,201
  • 6
  • 37
  • 66
2
votes
0 answers

FileChooser dialog causes segmentation fault core dump in native application

I have had a problem with the file chooser dialog in my native JavaFX application. I used the gluon maven plugins for the native compilation. I decided to try out the gluon samples. I cloned the samples and native compiled the HelloFXML sample (with…
1
vote
0 answers

GluonFX Maven Build Errors

I have a JavaFX project and ran the Maven pom: mvn gluonfx:compile -f pom_graalvm.xml This includes the GluonFX plugin gluonfx-maven-plugin version 1.0.19. The build fails and from the log file have the following, and appears to be an internal…
Graham Seed
  • 742
  • 3
  • 10
  • 24
1
vote
1 answer

Howto add the version, description and copyright meta-data in the generated executable using gluonfx:build?

We need meta-information in the generated executable so that right-clicking and selecting "details" will display the description, copyright and version. We have added description and vendor in the releaseConfiguration block but the executable still…
1
vote
1 answer

Javafx stage.setFullScreen throw exception after gluon:build and .exe run but not after javafx:run

I'm trying to create my first .exe from a javafx application. I'm using maven and gluon to achieve my goal. When I launch my app with mvn javafx:run everything run fine. So I try to package my app in a .exe using gluonfx:build and I get a .exe,…
1
vote
0 answers

Add vm options to a native image graalvm

Hi i upgraded an old java 8 project to a java 11 to use Graalvm for building native image, first problem was with how should i add external jar files to the project and i did it using a maven plugin, then after compiling and linking the project…
1
vote
0 answers

GraalVM Library is not linking in linux mint

I have built a native image application using (GraalVM 22.1.0) in Mac OS environment and it worked, but when trying to build the same application on linux the gluonfx:links fails, with an error of undefined reference to…
1
vote
0 answers

Error building native image with gluonfx-maven-plugin 1.0.14

I'm trying to build a native image using: GraalVM: 22.2.0 GluonFx maven Plugin: 1.0.14 And I get the following error: [Thu Jul 28 13:31:42 CEST 2022][INFO] [SUB] [1/7] Initializing... …
Ikaro
  • 165
  • 1
  • 12
1
vote
0 answers

java.lang.NoSuchMethodException Gluon Connect

please i get this errror on logcat when i use restclient to get a list. it works on desktop just after deploymnet to android java.lang.NoSuchMethodException: ...dto.Meeting.() its pops up more than the number of record i have in my list WARNING:…
leksyde
  • 45
  • 6
1
vote
1 answer

Where is the javadoc for glisten-afterburner?

The glisten afterburner jar contains classes such as AppView, AppViewRegistry, Utils etc. that appear in GluonHQ examples. I have failed to find the javadoc which describes the classes/methods. I've looked also for the source code to generate the…
1
2 3 4 5 6