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
1
vote
1 answer

Customizing AndroidManifest.xml in Gluon

If I don't create a src/android/AndroidManifest.xml file in my Gluon project, then the mvn gluonfx:package command creates one for me with some relatively sensible defaults. However, I need to make some changes to the generated AndroidManifest.xml…
Tim Gustafson
  • 177
  • 1
  • 11
1
vote
1 answer

Display of an icon in a program compiled with GluonFx

I compiled my JavaFx program with gluonFx as a native Windows image and everything works fine except that the program icon does not appear when the file name is displayed in the Windows explorer, while it is displayed when the program is…
1
vote
1 answer

Untangling the iOS deploy using ./mvnw -Pios gluonfx:link and nativerun

Trying to resolve this error deploying a small sample app generated from start.gluon.io to an attached iPad running iOS 15.2 from macOS 10.15.7 [Mon Dec 27 20:17:53 GMT 2021][INFO] [SUB] [ 52%] CreatingStagingDirectory [Mon Dec 27 20:17:53 GMT…
Hamish258
  • 305
  • 2
  • 9
1
vote
1 answer

Printing Okhttp Version at Runtime

In our javafx mobile application, we are using Okhttp3 4.9.1 for http requests. One of our developers told me that even if we specify Okhttp as an external dependency, in android device it will only use the Okhttp bundled with android. So I just…
1
vote
1 answer

(Gluon) JavaFX17/18 on Raspi (using desktop) not running due libglass.so: undefined symbol g_direct_hash

I have been trying to install/run JavaFX18 from Gluon on my raspberry pi4 and getting the following error message: Exception in thread "main" java.lang.reflect.InvocationTargetException at…
MaxL
  • 11
  • 2
0
votes
1 answer

Gluonhq with JDBC SQLite : ClassNotFoundException: org.graalvm.nativeimage.hosted.RuntimeRe

I am using Gluonhq with JDBC in Linux. Version info: 'GraalVM 22.1.0.1 Java 17 CE' There are no problems with postgresql. The problems begin when I work with sqlite. My JDBC connect: Connection connection = DriverManager.getConnection( …
Martin
  • 35
  • 5
0
votes
0 answers

Gluon Build for android doesnt work on linux-aarch64

I'm trying to generate a native image for Android profile using Linux with architecture aarch64 and I installed the GraalVM Version info: 'GraalVM 22.1.0 Java 17 CE' from this page https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final…
heno
  • 1
0
votes
0 answers

Gluonhq with Hibernate: Could not resolve net.bytebuddy.utility.Invoker$Dispatcher for reflection configuration

I use gluon with hibernate. In the beginning I do mvn gluonfx:runagent The application launches, makes a request to the database and the data is displayed correctly. Here is the command log Then I do mvn clean gluonfx:build The executable exe file…
Martin
  • 35
  • 5
0
votes
1 answer

Could not find the bundle com/ibm/icu/impl/data/icudt65b/ru_RU/

I am using gluonfx-maven-plugin 1.0.19 with graalvm-ce-java17-22.3.3 for windows 11. This can be checked from the log below. >mvn clean gluonfx:build [1/7] Initializing... Version info: 'GraalVM 22.3.3 Java 17 CE Java version info:…
Martin
  • 35
  • 5
0
votes
0 answers

Gluon Sample HelloFX Build Error (no ld.lld)

I am trying to run: ~/gluon-samples/HelloFX$mvn -Pandroid gluonfx:build on a virtual Ubuntu 22.0.4 on Windows 10 Virtualbox, after failing on WSL2. Installed in Ubuntu: Maven 3.8.8 GraalVM 22.1.0.1 openjdk 17.0.3 Gluonfx Maven Plugin 1.0.19 (unsure…
Grace Sawyer
  • 365
  • 1
  • 2
  • 16
0
votes
0 answers

How do I add Gluon Charm Library to my project in VScode

I'm working on a project that uses Swing but decided I'd add an FXML file that'll show up when user clicks on certain button. I'm getting getting issue Caused by: java.lang.ClassNotFoundException: com.gluonhq.charm.glisten.control.ToggleButtonGroup …
0
votes
0 answers

GluonFX Native Build Not Showing Menu Items

I have a GluonFX Maven Java17 Linux application that works fine when I run gluonfx:run and gluonfx:runagent. However, when I build it using gluonfx:build and then run the standalone app I am missing CSS settings, menu item labels, etc. The menu…
Graham Seed
  • 742
  • 3
  • 10
  • 24
0
votes
1 answer

GraalVM and Jakarka JAXB

I have a GluonFX GraalVM app that I managed to build using a Maven pom file. When I run it appears to fail loading the runtime glassfish libs on calling JAXBContext.newInstance(): $ ./app Jul 17, 2023 3:30:00 PM…
Graham Seed
  • 742
  • 3
  • 10
  • 24
0
votes
0 answers

Error in native-image GluonFX application when creating a BufferedImage

When my application is built as a native-image with gluonfx:nativeBuild, and I run the application (gluonfx:nativeRun) I get the following error: java.lang.UnsatisfiedLinkError: no awt in java.library.path This happens in my code where I read a…
0
votes
0 answers

Troubleshoot blank screen on GluonFX Android

I recently got my JavaFX program to run on android without crashing, but it doesn't currently do anything. Here's a pastebin of the logcat output when the app is first opened (embedding it would get the question flagged as spam). For reference the…