0

Whenever i run the gradle task bootBuildImage, GraalVM JDK is downloaded for every new project as the console states below:

Downloading from https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.1.0/graalvm-ce-java11-linux-amd64-21.1.0.tar.gz

How can i set an offline GraalVM JDK for every new project?

Nicodemus Ojwee
  • 744
  • 6
  • 12

1 Answers1

1

You can use「SDKMAN」to resolve your question. Command is:

 export JAVA_HOME=$HOME/.sdkman/candidates/java/21.0.0.r8-grl 

The SDKMAN is a command tool to switch the java enviroment.

ouflak
  • 2,458
  • 10
  • 44
  • 49
hucs
  • 26
  • 1