graalvm Questions
3
We use Apache Ant with Nashorn JavaScript Engine, which became deprecated and removed in jdk 15 and up. I trying find how to switch from Nashorn to Graal VM and didn't find any usable information e...
2
GraalVM native-image allow us to convert Java libraries into local executable. It also allow to compile to shared library as mentioned https://www.graalvm.org/docs/Native-Image/user/README
An nati...
Sayette asked 24/7, 2020 at 5:25
3
Solved
I started playing with quarkus and graalvm. I added files (txt and jpg) to resources in the project (src/main/resources/). To be sure that I have access to this file in controller I display size of...
Romaineromains asked 21/3, 2022 at 16:17
4
Solved
I have a little Java program. I build a binary using Graal's native-image (i.e. GraalVM AOT aka SubstrateVM).
My program can be executed either with a Java runtime or from the native-image binary....
Saire asked 10/5, 2018 at 2:28
6
Solved
I've just upgraded several projects to Java 19, Spring Boot 3.0.2, Kotlin 1.8.0 with Maven and I'd like Spring Boot to generate native images.
<java.version>19</java.version>
<kotlin...
Chesney asked 26/1, 2023 at 14:41
4
Can someone explain the differences between GraalVM and Jvm-Hotspot, and how GraalVM is related to OpenJDK's HotSpot.
Pleurisy asked 24/7, 2018 at 3:17
3
I'm trying to create a native-image from a fat jar file with
$ native-image -H:+TraceClassInitialization --initialize-at-run-time=org.slf4j,org.apache.log4j \
-jar ./my-jar-with-dependencies.jar...
Hesychast asked 12/3, 2020 at 12:47
2
I'm using the current version of community edition: GraalVM/native-image 22.1.0
My project has a dependency to the logging framework logback (version 1.2.3)
If I want to compile my "all-in-one...
Bhopal asked 27/6, 2022 at 10:19
1
I'm trying to compile a Spring Boot application to a native application and run this using docker. I'm using spring-graalvm-native version 0.8.5 and Spring Boot version 2.4.1. I'm trying to build t...
Tantalite asked 11/2, 2021 at 15:38
6
Solved
I am developing a Java application that needs to execute
JavaScript. Nashorn JS engine is about to get deprecated
and the replacement is the set of APIs provided by Graal SDK
which makes use of Gra...
2
Solved
I've been experimenting with Gluon's client maven plugin on a Windows machine for a project of mine. I decided to try out one of their "hello world" examples, here. I followed all of the steps on h...
Comorin asked 2/6, 2020 at 21:47
5
Solved
I'm trying to build a native application using GraalVM and native-image. An error occures when starting the build process. It seems the cl.exe is missing in the classpath. Like mentioned on the Gra...
Mellissamellitz asked 4/10, 2020 at 16:49
2
Solved
We're using GraalVM.js as a ScriptEngine in our application. The goal is to have a Java JRE that can run user-defined javascript scripts to extend functionality.
MVCE:
ScriptEngine engine = GraalJ...
1
i am trying to build an native image with graalvm and spring boot.
my project has several modules.when i try to build native image i got this error:
Error: Please specify class (or <module>/&...
Sniperscope asked 10/12, 2022 at 18:8
2
Solved
I like the idea of using JAX-RS in Quarkus as it will make the code not dependent on framework implementation. However when it comes to DB we're proposed to use "Panache" and extend the DB entities...
3
Solved
Does anyone has an idea how to build quarkus native image on cloudbuild?
I use following command to do so:
- name: maven:3-jdk-11
entrypoint: mvn
args: ["package", "-Dmaven.test.sk...
Pomona asked 15/3, 2021 at 22:57
1
I tried running both Mandrel:
./mvnw package -Pnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3.2.0-Final-java11
and GraalVM ver...
Tabbatha asked 30/4, 2021 at 16:39
2
I upgraded my spring boot application from 1.5 to 2.3.5 (using the spring boot gradle plugin). When the spring boot application starts, I get the following warning 4 times:
2020-11-05 13:29:19.432...
Bohr asked 5/11, 2020 at 14:14
0
Hello guys I'm new to GraalVM and was trying to start a spring native project following the guide https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#getting-started-buildpacks....
Bemuse asked 10/12, 2021 at 10:14
3
Solved
SAMPLE PROJECT AVAILABLE HERE: https://github.com/codependent/micronaut-aws-lambda-proxy-graal
I have a Micronaut application deployed on Amazon AWS as a Lambda function. It is compiled into a Gra...
Gardie asked 28/2, 2019 at 17:37
1
Low memory and high performance native containers are the future. Java with traditional frameworks has been difficult to work with to achieve lower level footprint with high performance like golang...
Osbourne asked 7/9, 2021 at 17:39
2
Solved
Is there any ability to use GraalVM to run Java in AWS Lambda functions? I read a lot articles about cold starts of Java applications with GraalVM AOT (ahead-of-time) compilation feature and decrea...
Sayers asked 31/8, 2018 at 14:43
1
I want to create a small binary out of my Compose desktop app. Following are the options out of the box with Compose:
Create native package with java runtime (great, but the size is very big)
Crea...
Boothman asked 14/6, 2021 at 8:11
1
Solved
I'm trying out the Micronaut Application as a Graalvm native image found
here.
But when I'm running the ./gradlew buildNativeLambda I'm having these exception:
Error: Image build request failed wit...
Pentateuch asked 27/6, 2021 at 7:17
0
I am trying to compile Java to WebAssembly. Is this possible?
My initial approach was to take the example described in this blog post
The approach described in the blog post is as follows:
Install...
Blearyeyed asked 14/6, 2021 at 22:39
1 Next >
© 2022 - 2025 — McMap. All rights reserved.