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

Intellij: Maven compiler error reads GraalVM as version 20.0.1 even after updating to 23.0.0

I'm trying to set up a development environment in Intellij IDEA with gluonfx to create native images but I keep getting an error during the build process. I've updated GraalVM to version 23.0.0, but the compiler keeps reading that the version I…
Gunyen
  • 51
  • 1
  • 5
0
votes
0 answers

Error encountered while parsing GraalVM Nashorn FavaFXPorts Android

So I'm currently trying to port a preexisting JavaFX project to Android using GluonFX/JavaFXPorts, and I've gotten stuck on this strange error during the build: Process ======= compile Command…
0
votes
0 answers

Gluon Mobile app, Project fails linking with Undefined symbols for architecture x86_64 error

I am incrementally moving a functional JavaFX desktop GUI to Gluon and GRAALVM 23.x.x using JavaFX 20. We are using Maven as our build tool and we are using the latest version of macOS / xCode. The app looks and works great on Desktop when built…
0
votes
0 answers

Getting No toolkit found in intellij in linux

I am trying to build something similar to postman ui for learning javafx and graalvm, and I am trying to use https://github.com/FXMisc/RichTextFX for having colorful json. when I add org.fxmisc.richtext
ozkanpakdil
  • 3,199
  • 31
  • 48
0
votes
1 answer

Problem: Gluon javafx project successfully generates .exe and .msi without errors, but program fails to run

When generated or installed .exe file double clicked, hour glass icon shows breifly and disappears and nothing happens, but should display window with user interface. Able to execute mvn gluonfx:build, compile, link, and package only from x64 Native…
0
votes
0 answers

Gluon mobile for a Spring application : ch.qos.logback.classic.Logger initialisation

I have a JavaFX application that is based on Spring Framework. I'm trying to make it working as an Android application. I'm using gradle and so the gluonfx-gradle-plugin. (v 1.0.18) When running the nativeCompile task, I get the following error…
0
votes
0 answers

Use GluonFX mobile behind a corporate proxy

I'm trying to build the GluonFX example project "HelloFX" as mentioned here: https://docs.gluonhq.com/#platforms_android under section 5.4.4. The main problem is, my computer runs behind a corporate proxy and however the gluonfx build script does…
0
votes
0 answers

Unexpected error running gluonfx nativerun target

I am failing to run a native desktop build on a macOS (M2), command: mvn gluonfx:nativerun I am using the HelloFx example from the gluon samples project, although have the same issue with independent projects I have tried creating. I am using a…
yossi
  • 1
0
votes
0 answers

Why does JavaFX FlowPane not size itself when set to unmanaged?

I would like to have a Flowpane layout of items irrespective of the size of the parent of the Flowpane From what I understand, calling setManaged(false) on any region should cause the parent to not size the region and cause the region to become its…
Jody Sowald
  • 342
  • 3
  • 18
0
votes
0 answers

no download of Monocle SDK on linux x64

I would like to use monocle with linux, for headless use in build system, but I don't see any way to get the linux-monocle version for versions above 17.0.6 Is it just forgotten? broken? or is there any other way to get it working? I tried using the…
0
votes
0 answers

Gluon Attach - open file system browser on Android

Writing JavaFX applications for Android, using GraalVM and gluon-maven-plugin: I am trying to open a file system location using Gluon Attach (4.0.17-SNAPSHOT) BrowserService with a file: URL. That works fine on desktop systems, but fails on Android…
taranion
  • 631
  • 1
  • 6
  • 17
0
votes
1 answer

GraalVM native JavaFX application visual bugs

I have created a new GraalVM + JavaFX project with simple interface, but instead of this: I can see only this: I have compiled my project with/on: Solus OS (Linux) with kernel 6.1.5 Java 17 provided by GraalVM SDK (below) GraalVM v22.1.0.1…
SoKnight
  • 33
  • 7
0
votes
0 answers

Is there a way to build android apk to support x64 and other architectures with gluonfx maven plugin?

I have packaged my javafx project into Android application with the support of "gluonfx-maven-plugin".But there is just aarch64 architecture supported. And the converted project can be open in Anroid studio without error.Is there any extra plugins…
0
votes
0 answers

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: How to i fix it?

Error All Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot invoke "javafx.scene.control.Label.setText(String)" because "this.as" is null at…
Kevin
  • 9
  • 2
0
votes
0 answers

Gluon Mobile not compiling on WSL2 Ubuntu 20.04

Ive been trying to create an apk file for my gluon project. On windows and for windows, the prroject runs perfectly but when in Ubuntu, the commands mvn -Pandroid gluonfx:runagent will run the project but the project wont compile and build. the…