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

Error while building APK using GluonFX 1.0.16

Our app was already using GluonFX 1.0.12. And we were able to build APK (with OpenJDK 11). I've updated the GluonFX to 1.0.16 now. I am able to run the app. And running the app through mvn gluonfx:runagent goal is also working fine. But building…
0
votes
0 answers

AndroidManifest invalid package when building with gluonfx-gradle-plugin

I'm trying to use the gradle plugin gluonfx-gradle-plugin to package my application for Android. With a template project provided in Intellij, I'm getting the following error when launching the nativePackage task : [lun. déc. 19 21:22:05 CET…
0
votes
0 answers

Configure executable name in gluonfx maven plugin

I'm building a javaFx app to native using gluonfx maven plugin. For CI reasons I can't change the standard from property, which is used by gluonFx to name the resulting executable. I want to build my executable with a different name. I have…
Ikaro
  • 165
  • 1
  • 12
0
votes
0 answers

Platform dependent code in GluonFX Maven plugin

I am using the GluonFX Maven plugin to provide my application for desktop and mobile operating systems as a native binary. That mostly works fine, but there are some areas where using specific modules compiles and links on desktop, but not on…
taranion
  • 631
  • 1
  • 6
  • 17
0
votes
0 answers

How to build an executable file from a maven gluonfx project [PARTIALLY SOLVED]

I was not able to build an executable file from a maven/gluonfx project, but i partially solved opening x64 Native tools, using cd command to move into the gluonfx project folder and i used the mvn gluonfx:build command to build the app. So…
0
votes
0 answers

How do I fix intellij 2022 gluonfx error: javafx:run@default-cli failed

I followed instructions at https://gluonhq.com/developers/media/ video titled "Getting Started with Gluon in Intellij IDEA". The steps given in the video were to (1) install Intellij (I downloaded and installed intellij 2022.2.3 Community Edition…
0
votes
1 answer

Switching views/fxml on gluon Application

I am developing a gluon application with JavaFX but i can't understand very well how to switch scene (or view?) by clicking a button. If i click the button "load from file" in the image below, my code should perform some tasks, and then it should…
0
votes
0 answers

Maven Home is not specified for Gluon JavaFX - Why?

I just installed Eclipse IDE 2022-03 and Gluon Plugin 2.8.2. Latest Eclipse IDE does not work with Gluon 2.8.2. Anyway! I created a FXML project and then I run the project with mvn gluonfx:run as the manual says. mvn javafx:run is working But then…
euraad
  • 2,467
  • 5
  • 30
  • 51
0
votes
0 answers

Gluon GraalVM console

When compiling to native image and running it now days runs in "javaw" mode. I would like that the console window to be shown also like when running a Java UI application with "java" command. How to create a native image so that console window is…
Hugo Larson
  • 15
  • 1
  • 6
0
votes
0 answers

iOS Deploying exception on runtime : java.lang.UnsatisfiedLinkError: no webview in java.library.path

i have a JavaFX application and i am trying to make it run on iOS it is running well in Android. Linux, Mac. but I just get a white screen on the iOS-simulator i am not using java-modules. i got this exception in the terminal Exception in…
SamFX
  • 19
  • 6
0
votes
0 answers

GraalVM Toolkit not found: sun.awt.X11.XToolkit

I am building a native-image using GraalVM (java11-linux-gluon-22.1.0.1-Final) for a java 11 project. The project was on java 1.8 but after converting it to java 11 for the GraalVM to work the build was successful but after i run the program i get…
0
votes
0 answers

Swing and JavaFX native image with GraalVM - no awt in java.library.path error

I am trying to create a native-image of a straightforward application using gluonfx-maven-plugin but it requires being a Swing application with JFrame and JFXPanel to run JavaFX UI as I am using Java Chromium Embedded Framework (JCEF) to replace…
Yash garg
  • 53
  • 1
  • 7
0
votes
2 answers

JavaFX Webview on Mobile does not receive any TouchEvent

I am trying to do a simple Demo about using JavaFX on Mobile using GluonFX Pluging & Attche. The App, Will be Simply WebApp. The Main problem now is When the user click on any text input field, the Mobile keyboard is shown but most of times the View…
SamFX
  • 19
  • 6
0
votes
1 answer

gluon app does not find method in jdk, how is that possible?

I made an android gluon app, testing the validity of the model before going "big boy". I had some struggles, mainly due to how different a gluon app on desktop and mobile (android) react. I was able to overcome all of them, except one. When my app…
pepe
  • 1
  • 3
0
votes
0 answers

JavaFX: Minimize/Maximize Button Animation for Undecorated Stage with GluonFX and GraalVM

I'm building my JavaFX desktop application and recently I've encountered a problem: there are no animations for minimizing/maximizing window when you use undecorated/transparent stage. I would like my application to smoothly animate on Windows…
Dang'it
  • 1
  • 1