Questions tagged [graalvm-native-image]

449 questions
0
votes
1 answer

Micronaut Lambda Native Image Not Reading Custom Handler

By default, Micronaut's handler is the class MicronautLambdaHandler. But on the Micronaut guide it says that The main API you will interact with is AbstractMicronautLambdaRuntime. An abstract class which you can extend to create your custom runtime…
berty
  • 160
  • 9
0
votes
0 answers

Gradle gluonfx plugin, nativeBuild : "Error: Classes that should be initialized at run time got initialized during image building"

I have been trying to build an executable for a javaFX App with the gradle gluonfx plugin but I run into the following issue while running the gradle task 'nativeBuild' : Error: Classes that should be initialized at run time got initialized during…
0
votes
0 answers

Build failure - No instances of com.fasterxml.jackson.core.io.SerializedString are allowed in the image heap

I am working on switching a module inside an existing spring-boot project to use spring native. My nativeBuild is failing with the error below. Fatal error:com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while…
0
votes
0 answers

GraalVM Compatibility with TornadoFX CSS URL Protocols

I'm trying to use GraalVM Native Image tool to create an executable that can be ran without the need of java installed. I'm also looking to prevent the need of an installer for my program too, and so I found GraalVM Native Image. However, when I try…
dkim19375
  • 31
  • 5
0
votes
1 answer

Micronaut Error Body Not Showing on AWS Lambda

I build a Micronaut application with graalvm following the instructions found here. I configured a custom error handler that returns an HttpResponse when a validation error of request body is encountered on the controller. @Factory public class…
berty
  • 160
  • 9
0
votes
1 answer

Can't run mvn gluonfx:link goal to create native image

I just want to produce the native image for Windows platform from example Gluon project, but I get an error. I already install all the requirements. When run mvn gluonfx:compile I get no error, but when I run mvn gluonfx:link, I get this…
NM Naufaldo
  • 1,032
  • 1
  • 12
  • 30
0
votes
1 answer

Set Local GraalVM JDK in Spring Boot Native

Whenever i run the gradle task bootBuildImage, GraalVM JDK is downloaded for every new project as the console states below: Downloading…
0
votes
1 answer

Does Vaadin Flow support Spring-Boot Native

I'm currently trying to run my Spring-Boot/Vaadin V14 app as native executable. It turns out, in general i can translate a Spring-Boot Service or even a Spring-Boot-Data Jpa App into an running executable running outside and inside a Docker…
0
votes
1 answer

Build native Quarkus image under Java 16?

Is it possible to build the native Quarkus image under Java 16? Didn't find any instructions how to do it. Somehow, it should be possible to do it because Oracle released GraalVM support for Java 16 (https://www.graalvm.org/release-notes/21_1/)
mr.M
  • 851
  • 6
  • 23
  • 41
0
votes
2 answers

Runtime error DnsServerAddressStreamProviders$DefaultProviderHolder for GraalVM native image

Im trying to build a native image for spring cloud gateway using GraalVM. I've managed to build a native image that can bootup but at the first http request I get this error: java.lang.NoClassDefFoundError: Could not initialize class…
0
votes
0 answers

Gluon mobile audio implementation is missing

Because building a native image on windows, ios and android does not support javafx.media, I am using com.gluonhq.attach.audio to realize sound. But I got an issue on linux and windows: java.lang.module.FindException: Error reading module:…
0
votes
2 answers

Is there any way to do Ahead Of Time compilation in Springboot?

I have read about ahead of time compilation and that there is Micronaut, a Java framework to do so. I just wanted to know if it's possible to do that in Spring Boot.
Atulya
  • 93
  • 1
  • 9
0
votes
1 answer

How to set up different graalvm-home and java-home in CI server to build native image

Issue: I want has two graalvm version in same CI server to build different quarkus version service project. resason: Because a few old service use quarkus-1.5.1 & graalvm-20.0.0 and I can't upgrade that version. but I want use quarkus-1.13.1 &…
LeoKao
  • 47
  • 1
  • 6
0
votes
1 answer

Does Gluon Mobile/GraalVM supporting the modul javafx.media on Android and IOS?

I learned that javafx.media does not work in a native image on Windows yet. It should work on Linux. But I can't find informations about Android and IOS. Does anyone know on which platforms the media modul works? Thanks in advance.
c. herzog
  • 55
  • 5
0
votes
1 answer

Why does Javafx native image does not work with the class javafx.scene.media.MediaPlayer?

I build a native image on win 10 with gluon plugin and graalvm ce 21.0.0. If i build the app without javafx.scene.media.MediaPlayer the client works fine. If i am using the class javafx.scene.media.MediaPlayer i realized that the folder…