0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WSL(Ubuntu20.04.6LTS)でのGraalVMのセットアップ

Posted at

インストール可能なパッケージの「一覧」を更新し、バージョンアップする

sudo apt update
sudo apt upgrade

GraalVMをダウンロード・解凍する。

cd ~
wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.2/graalvm-ce-java17-linux-amd64-22.3.2.tar.gz
tar -xzf graalvm-ce-java17-linux-amd64-22.3.2.tar.gz

ダウンロードしたいバージョンのURLはGitHubから調べる。

解凍したディレクトリにPATHを通す

nano .bashrc

.bashrcの末尾に以下を追加

export PATH=$HOME/graalvm-ce-java17-22.3.2/bin:$PATH
export JAVA_HOME=$HOME/graalvm-ce-java17-22.3.2

PATHの追加を反映

source .bashrc

「開発パッケージ一式」をインストール

sudo apt install build-essential
sudo apt install zlib1g-dev
gu install native-image
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?