Skip to content
Advertisement

Tag: graalvm-native-image

Gluonfx build using docker fails, with error: Cannot run program “ie4uinit”: CreateProcess error=2, The system cannot find the file specified

I’m building a native image using the Gluonfx plugin. I’m doing this procedure inside a docker container. The image builds the 7 steps, but doing the link throws an error complaining about missing ie4uinit.exe. These are the error logs: I would like to know if it’s possible to add this dependency to my docker image. Or, if not possible, a

native-image says “unknown type name ‘uint8_t'” during compilation

I’m getting this error: I’m with Clang: It seems that the problem is with this code in sys/resource.h: This line with stdint.h doesn’t get included and that’s why uint8_t doesn’t get defined. Answer Possible solution Please, consider trying to follow the instruction from quarkus/faq.adoc at main · quarkusio/quarkus: 1. Native compilation Native executable fails on macOS with error: unknown type

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 & graalvm-21.0.0 in new service. tried: add quarkus.native.graalvm-home & quarkus.native.java-home in the pom.xml, setting graalvm path, but not working. Answer All

GraalVM native-image how to read resource file from Jar

I have a jar file which contain some text file inside, I am trying to load the file as: InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(path); It doesn’t work as error showing : If I try to extract the resource file into classpath src/main/resources, then it is working fine. My question is, could we read resource file from Jar (when running in GraalVM

Advertisement