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 …

How to call a Java entrypoint method with non-primitive types as parameters from C++ using GraalVM

I am trying to create a shared library(dll with header and lib files) of a java code using graalvm. there will be one java method with 2 parameters of type String which I will call from c++. I am …

Can JVM bytecode running on the GraalVM be instrumented by a custom `TruffleInstrument`?

I would like to write a Truffle instrument which can instrument Java programs (or at least JVM bytecode programs) when they are run on GraalVM. I have been investigating different ways to perform …

Cannot compile simple “Hello World” Java application with native-image on Windows

I’m trying to compile a simple Java Hello World application to native code using the native-image utility provided by GraalVM on Windows but I always run into errors (see below). HelloWorld.java: …

Nashorn alternative for Java 11 [closed]

I am using Nashorn JavaScript Engine in Java 11 which works fine except it will be deprecated soon. I have tried GraalVM which I find quite worse as it takes 13-14 seconds to execute a simple …